在angular项目中使用bootstrap
1.安装bootstrap
npm install bootstrap
2.angular.json中引入
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/styles.scss"
],
"scripts": [
"node_modules/bootstrap/dist/js/bootstrap.min.js"
]
1.安装bootstrap
npm install bootstrap
2.angular.json中引入
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/styles.scss"
],
"scripts": [
"node_modules/bootstrap/dist/js/bootstrap.min.js"
]