LESS file does not load (404)

前端 未结 5 810
旧巷少年郎
旧巷少年郎 2020-12-23 19:42

I\'m using IIS 7.5 and I\'m unable to load the less file because it gives a 404 error.

HTML:



    

        
5条回答
  •  情深已故
    2020-12-23 20:27

    In my MVC 5 application, I tried many of these approaches and couldn't resolve the problem. Ultimately, I installed Web Essentials for VS 2013 and took advantage of the built-in LESS compiler. Every time you save your LESS file, it will generate the corresponding CSS. In my layout, I simply point to the CSS file and worked around my trouble.

提交回复
热议问题