Stackblitz: How to import Bootstrap CSS framework

前端 未结 8 930
死守一世寂寞
死守一世寂寞 2020-12-31 02:52

I just found the amazing Stackblitz online VS Code editor. I created an Angular project and under dependencies installed the Bootstrap CSS framework but how

8条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-31 03:32

    1. Enter bootstrap at the enter package name input field of Dependencies section.
    2. Add "node_modules/bootstrap/dist/css/bootstrap.min.css" to the styles section of angular.json file.

提交回复
热议问题