我已经阅读了达米安·爱德华兹(Damian Edwards)的以下文章。
https://github.com/aspnet/Mvc/issues/1576
https://github.com/aspnet/Mvc/issues/1580
在时ScriptTagHelper,我不确定应该输入asp-fallback-test attribute什么?和一样jQuery吗?window.jQuery?如何找到正确的JavaScript表达式?有人可以给我一个例子moment-withlocales.min.js吗?谢谢!
以下示例LinkTagHelper正确吗?
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.css"
asp-fallback-href="~/lib/bootstrap-daterangepicker/daterangepicker.css"
asp-fallback-test-class="daterangepicker"
asp-fallback-test-property="position"
asp-fallback-test-value="absolute"
/>
Run Code Online (Sandbox Code Playgroud)
迈克尔