angular8使用杂谈

别说谁变了你拦得住时间么 提交于 2020-01-25 01:05:16

使用bootstrap
1.下载三个组件
npm install jquery --save

npm install popper.js --save

npm install bootstrap --save

2.在angular.json文件中添加他们

“styles”: [
“src/styles.css”,
“./node_modules/bootstrap/dist/css/bootstrap.css”
],
“scripts”: [
“./node_modules/jquery/dist/jquery.slim.js”,
“./node_modules/popper.js/dist/umd/popper.js”,
“./node_modules/bootstrap/dist/js/bootstrap.js”
]

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!