如何在Angular项目中使用Bootswatch ?



我想在一个Angular项目中使用Bootswatch。但是我不知道如何安装它,我首先尝试安装模块:

npm i bootswatch

然后在角。我做了以下操作:

"styles: [
"bootswatch/dist/lux/bootstrap.min.css",
"node_modules/animate.css/animate.min.css",
"src/styles.css". ]

但是它对我不起作用,我仍然看到默认的Bootstrap主题,我该怎么办?

Json对'serve'和'build'有两个修改。请检查是否只有一个被修改

最新更新