小编Pau*_*ton的帖子

提供查询字符串时的.less编译错误

我有一个ASP.Net MVC应用程序,它将.less文件编译成CSS.在特定情况下,如果我点击我的端点

HTTP:///帐户/ ResetPassword T = eyJ0eXAiOiJKV1Qi ...

查询字符串导致.less编译警告

directive block with unrecognised format on line 1 in file '~/Content/packageForm.less': []: /beginning of file [1]: @t: eyJ0eXAiOiJKV1Qi...;
^ [2]: @import "setup.less"; directive block with unrecognised format on line 1 in file '~/Content/packageForm.less': []: /beginning of file [1]: @t: eyJ0eXAiOiJKV1Qi...;
^ [2]: @import "setup.less"; directive block with unrecognised format on line 1 in file '~/Content/IE.less': []: /beginning of file [1]: @t: eyJ0eXAiOiJKV1Qi...;
^ [2]: #notes{ directive block with unrecognised format on …
Run Code Online (Sandbox Code Playgroud)

css asp.net-mvc less

7
推荐指数
1
解决办法
429
查看次数

标签 统计

asp.net-mvc ×1

css ×1

less ×1