Sails.js 如何将css文件与sails中的.map文件连接起来?

Sails.js 如何将css文件与sails中的.map文件连接起来?,sails.js,Sails.js,我是Nodejs的新手 当我尝试在sails中使用“sails www--prod”命令时 我的网站的风格被破坏了。然后改变了css路径 <!--STYLES--> <link rel="stylesheet" href="min/production.min.css"> <!--STYLES END--> 现在,我知道bootstrap.css找不到.map文件,我不知道如何修复它 谢谢您的帮助。您应该将bootstrap.css.map从bootstra

我是Nodejs的新手

当我尝试在sails中使用“sails www--prod”命令时

我的网站的风格被破坏了。然后改变了css路径

<!--STYLES-->
<link rel="stylesheet" href="min/production.min.css">
<!--STYLES END-->
现在,我知道bootstrap.css找不到.map文件,我不知道如何修复它


谢谢您的帮助。

您应该将bootstrap.css.map从bootstrap文件夹复制到concat文件夹

<!--STYLES-->
<link rel="stylesheet" href="concat/production.css">
<!--STYLES END-->
GET http://localhost:88/concat/bootstrap.css.map 404 (Not Found)