【发布时间】:2015-11-27 08:52:41
【问题描述】:
我的 asp.net mvc5 Web 应用程序中有以下 bunlde:-
bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/bootstrap.css",
"~/Content/style.css",
"~/Content/touchTouch.css",
"~/fonts/font-awesome.css"));
现在这将始终在 bootstrap.css 之后呈现 style.css 吗?或者这不能保证?如果上面的代码不能保证顺序,那么我如何控制包中的 css 和脚本文件的顺序?
【问题讨论】:
标签: css asp.net-mvc razor asp.net-mvc-5