0
BundleConfig.cs意外標記'。'與MVC 4
bundles.Add(new StyleBundle("~/Content/styles").Include(
"~/Content/css/test.css"
)
);
捆綁樣式表時_Layout.cshtml
@Scripts.Render("~/Content/styles")
Test.css
body{
font-size: 75%;
color: #232323;
text-align: left;
margin: 0px;
padding: 0px;}
這就是Chrome瀏覽器顯示爲被裝滿給我一個語法有關意外令牌的錯誤{:
body{font-size:75%;color:#232323;text-align:left;margin:0;padding:0}
http://stackoverflow.com/questions/7431445/unexpected-token-in-css-when-editing-it-in-vnext – Niventh 2013-04-04 16:18:23