Permalink
Browse files

feat(nuxt): add bvCSS option. resolves #1351.

  • Loading branch information...
pi0 committed Nov 17, 2017
1 parent 142d517 commit 3a7517f41e736afdcd218a4f10171993f51dd5e2
Showing with 5 additions and 3 deletions.
  1. +5 −3 nuxt/index.js
@@ -19,15 +19,17 @@ module.exports = function nuxtBootstrapVue (moduleOptions) {
this.options.css.unshift('bootstrap/dist/css/bootstrap.css')
}
// Add library styles
if (moduleOptions.bvCSS !== false) {
this.options.css.push('bootstrap-vue/dist/bootstrap-vue.css')
}
// Register plugin
this.addPlugin({
src: resolve(__dirname, 'plugin.js'),
fileName: 'bootstrap-vue.js',
moduleOptions
})
// Add library styles
this.options.css.push('bootstrap-vue/dist/bootstrap-vue.css')
}
module.exports.meta = require('../package.json')

0 comments on commit 3a7517f

Please sign in to comment.