This project is use to add custom prefix to every bulma css class.
This project use Bulma Version 0.9.3
At Jammed, we use to to prefix the Bulma version included in our Vue booking app web component.
- Fork this repository...
- open postcss.config.js
- change the following code.. from custom prefix to your prefix
require('./ext_vendor/postcss-class-prefix')('custom-prefix-')
- run
yarn(if you haven't install dependencies) - run
yarn run dev(for development version) oryarn run production(for production version) - grab your final css from dist folder
Enjoy!
Since postcss-class-prefix plugin for postcss is not maintained any more. I took the latest version and PRs and merge manually and put into ext_vendor directory.