duck_go19
duck_go19

Reputation: 49

How can I use Bootswatch in an Angular project?

I have an Angular project in which I want to use Bootswatch. But I don't know how to install it, I first tried to install the module with:

npm i bootswatch

Then in the angular.json file I did the following:

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

But it doesn't work for me, I still see the default Bootstrap theme, what can I do?

Upvotes: 0

Views: 582

Answers (1)

vueAng
vueAng

Reputation: 453

Angular. json has two modifications to 'serve' and 'build'. Please check if only one is modified

Upvotes: 0

Related Questions