【发布时间】:2023-03-05 18:37:01
【问题描述】:
我有一个 Angular 项目,我想在其中使用 Bootswatch。但是我不知道怎么安装,我先尝试安装模块:
npm i bootswatch
然后在 angular.json 文件中我做了以下操作:
"styles: [
"bootswatch/dist/lux/bootstrap.min.css",
"node_modules/animate.css/animate.min.css",
"src/styles.css". ]
但是对我不起作用,我仍然看到默认的 Bootstrap 主题,我该怎么办?
【问题讨论】:
-
检查您的 index.html 以找到任何引用引导程序的链接参考?
-
工作链接:therichpost.com/…
标签: angular bootstrap-4 angular-ui-bootstrap bootswatch