Angular 6 Library using bootstrap

后端 未结 6 2119
遇见更好的自我
遇见更好的自我 2021-02-19 13:14

I am creating an angular library in an angular project using angular 6 library feature https://github.com/angular/angular-cli/wiki/stories-create-library

I am creating f

6条回答
  •  情歌与酒
    2021-02-19 13:43

    1) you can directly install using

    npm install bootstrap
    

    and than in your angular cli you can inlude it using

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

    2) you can also use ngx-bootstrap, it will help you in many input components

    npm install ngx-bootstrap
    

提交回复
热议问题