【发布时间】:2021-12-28 00:43:03
【问题描述】:
所以在开始一个全新的 Angular 项目后,我做了一个 npm install of bootstrap。在我的 node_modules 中看到它之后,我将它放在我的 angular.json 中。
"styles": [
"/node_modules/bootstrap/dist/css/bootstrap.css",
"src/styles.css"
],
我目前正在使用应该在引导程序中工作的类的示例代码,但是当它们显示在屏幕上时,它们缺少引导程序样式。我错过了什么?
【问题讨论】:
标签: angular bootstrap-4