您现在的位置:首页 >> 前端 >> 内容

Angular2-Bootstrap的继承

时间:2017/7/20 11:27:30 点击:

  核心提示:第一步进行安装Bootstrap的方式npm install -p bootstrap第二部进行更改angular-cli.json文件中,增加如图内容:styles: [styles.css,../...

第一步

进行安装Bootstrap的方式

npm install -p bootstrap

第二部

进行更改angular-cli.json文件中,增加如图内容:
Angular2-Bootstrap的继承

"styles": [
        "styles.css",
        "../node_modules/bootstrap/dist/css/bootstrap.min.css"
      ],
      "scripts": [
        "../node_modules/bootstrap/dist/js/bootstrap.js"
      ],

引用的资源

Angular2-Bootstrap的继承


继承成功

Tags:AN NG GU UL 
作者:网络 来源:喜欢雨天的我