web.config 添加 MIME 映射(以 .less 为例)
ITPOW2019/3/30 18:43:03
<?xml version="1.0"?> <!-- 有关如何配置 ASP.NET 应用程序的详细信息,请访问 https://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <system.webServer> <staticContent> <remove fileExtension=".less"/> <mimeMap fileExtension=".less" mimeType="text/css" /> </staticContent> </system.webServer> </configuration>
<<返回首页<<