1.在项目中使用命令 npm i bootstrap -s来创建bootstrap
2.创建完成之后在 angular.json中引入进去
"styles": [
"src/styles.scss",
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
],
3.重启服务