Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 如何在sails.js中导入bootstrap.css_Node.js_Sails.js - Fatal编程技术网

Node.js 如何在sails.js中导入bootstrap.css

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-构建资产 您是如何接近的?你有什么比把资源变成资产更好的吗?

在我的sails.js项目中包含bootstrap.css的最佳方式是什么?我已经安装了引导npm包

npm安装bootstrap@3


我想我应该在
资产/style/importer中导入它。更少的
但是还没有开始工作

看起来您可能需要使用Grunt来编译更少的代码,请尝试运行

npm安装
-只是为了确保所有依赖项都被拉入

然后跑

grunt
-构建资产


您是如何接近的?你有什么比把资源变成资产更好的吗?