通过package.json安装bootstrap 3

时间:2018-03-12 19:40:15

标签: twitter-bootstrap twitter-bootstrap-3 npm npm-install

我正在阅读我可以运行的所有文档npm install bootstrap@3如何将其放入我的package.json文件中?

"bootstrap": "3.3.7"< =无效

"bootstrap@3": "3.3.7"< =无效

来自bootstrap网站:

https://getbootstrap.com/docs/3.3/getting-started/

来自create-react-app网站:

https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-bootstrap

1 个答案:

答案 0 :(得分:1)

是的,只需输入所需的引导程序和版本,如下所示:

-(void)URLSession (NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error

运行之后:

  "dependencies": {
    ...
    "bootstrap": "3.3.7"
  },