1
如何在Squishit中添加動態CSS源代碼路徑/ URL?如何在Squishit中添加動態CSS源URL?
@Html.Raw(
Bundle.Css()
.Add("~/Styles/" + (ViewBag.SiteName ?? "default") + "/a.css")
.Add("~/Styles/" + (ViewBag.SiteName ?? "default") + "/b.css")
.Add("~/Styles/" + (ViewBag.SiteName ?? "default") + "/c.css")
.Render("~/Styles/" + (ViewBag.SiteName ?? "default") + "/o#.css")
)
這會引發錯誤。