Bulma + Angular using NPM
Why NPM?
Whenever we need a package in our Angular application, we'll be using npm to bring in the package. This is the way the Angular ecosystem is working. We need lots of packages to build something greater.
Installing Bulma:
Add Bulma in Angular app:
For Angular applications, all starting configuration happens in the angular.json file. In that file, you'll find a styles array where we can add any CSS files we want to add to our project. You'll also find a script array where you can add scripts if you need that. (Refer here for including Jquery and Bootstrap)
Restart the angular server (ng serve). Now you can able to use all the incredible features of Bulma CSS in your Angular application.
Let's make something awesome with Bulma.
Comments
Post a Comment