【bootstrap】使用bower安装bootstrap
来源:互联网 发布:淘宝优惠微信群二维码 编辑:程序博客网 时间:2024/05/16 00:59
本来这么简单的东西耽误了我好长时间。
使用bower安装bootstrap的命令是:
bash$ bower install bootstrap
不过问题出在如何安装bower上。
官方网站上这样说的:
Bower depends on Node and npm. It's installed globally using npm:npm install -g bowerAlso make sure that git is installed as some bower packages require it to be fetched and installed.
问题又来了,node与npm,使用ubuntu的apt-get结果装了node就没有npm,装了npm就没有node。
最后这样解决的:
装npm,sudo apt-get install npm
然后用npm安装node,但是bower还是没法装,于是更新node版本。
步骤如下:
sudo npm cache clean -fsudo npm install -g nsudo n stable
还可以参考这篇文章,点击打开链接,之后依次安装即可。
总结一下就是,先安装npm,用源安装,然后用npm安装node,并对其进行更新。
之后用npm安装bower,
最后bower安装bootstrap
- 【bootstrap】使用bower安装bootstrap
- 使用bower安装bootstrap遇到的问题
- bower的安装、Bootstrap的安装及简单使用
- bower 安装bootstrap 提示installing Bootstrap with Bower on mac says: Error: EACCES, permission denied
- 在WINDOWS环境下使用node安装express,mongoose,jade,bower,bootstrap
- bootstrap-sass安装使用
- 使用bootstrap.sh安装quagga
- Bootstrap的安装和使用
- Setting up Gulp, Bower, Bootstrap Sass, & FontAwesome
- Bootstrap 使用
- 使用Bootstrap
- Bootstrap 使用
- bootstrap使用
- Bootstrap使用
- bootstrap使用
- bootstrap使用
- bootstrap使用
- bootstrap使用
- 动态库*.so制作-linux 嵌套动态库
- Cocos2d-x 动作之动作原理——动作的更新
- Excel 将数字格式中的e+转换为文本格式
- 初识 Google App Engine
- 第八周2-计算函数值
- 【bootstrap】使用bower安装bootstrap
- Java递归实现文件删除
- 黑马程序员_集合知识
- GAE集成SpringMVC
- hibernate 持久化状态
- Cocos2d-x 动作之动作原理——CCActionManager的工作原理
- PHP数据库长连接mysql_pconnect的细节
- Tomcat遇到的问题
- 设计技巧21:Facade 为一组复杂的且全面的接口对象提供一个简单且特定的接口