Node.js 如何在sails.js中导入bootstrap.css
在我的sails.js项目中包含bootstrap.css的最佳方式是什么?我已经安装了引导npm包Node.js 如何在sails.js中导入bootstrap.css,node.js,sails.js,Node.js,Sails.js,在我的sails.js项目中包含bootstrap.css的最佳方式是什么?我已经安装了引导npm包 npm安装bootstrap@3 我想我应该在资产/style/importer中导入它。更少的但是还没有开始工作 看起来您可能需要使用Grunt来编译更少的代码,请尝试运行 npm安装-只是为了确保所有依赖项都被拉入 然后跑 grunt-构建资产 您是如何接近的?你有什么比把资源变成资产更好的吗?
npm安装bootstrap@3
我想我应该在
资产/style/importer中导入它。更少的但是还没有开始工作 看起来您可能需要使用Grunt来编译更少的代码,请尝试运行
npm安装
-只是为了确保所有依赖项都被拉入
然后跑
grunt
-构建资产
您是如何接近的?你有什么比把资源变成资产更好的吗?