Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
CHANGELOG.md Publish Feb 12, 2019
README.md update instructions to use postcss-preset-env Nov 2, 2018
index.js use yarn workspaces Oct 6, 2017
package.json fix: correct homepage URLs (#282) May 20, 2019

README.md

Bulma

npm npm (scoped with tag)

Leverage bulma CSS.

Setup

  • Add @nuxtjs/bulma dependency using yarn or npm to your project
  • Add @nuxtjs/bulma to modules section of nuxt.config.js
{
  modules: [
    '@nuxtjs/bulma'
  ]
}
  • You will need to use postcss loader if you are not already using it.
build: {
    /*
    ** You can extend webpack config here
    */
    postcss: {
      plugins: {
        'postcss-preset-env': {
          features: {
            customProperties: false
          }
        }
      }
    },
    extend(config, ctx) {
      // Run ESLint on save
      if (ctx.isDev && ctx.isClient) {
        config.module.rules.push({
          enforce: 'pre',
          test: /\.(js|vue)$/,
          loader: 'eslint-loader',
          exclude: /(node_modules)/
        })
      }
    }
  }
You can’t perform that action at this time.