1.2.0 • Published 6 years ago
nuxt-vue-material v1.2.0
NUXT VUE-MATERIAL
Plugin to join nuxt and vue-material framework.
Setup
- Add
nuxt-vue-materialdependency using npm to your project - Add
nuxt-vue-materialtomodulessection ofnuxt.config.js
{
modules: [
['nuxt-vue-material', {
theme: 'default-dark',
components: ['MdDrawer', 'MdRadio', 'MdMenu', 'MdContent', 'MdList', 'MdButton', 'MdToolbar',]
}],
]
/* OR like this:
modules: [
'nuxt-vue-material'
],
vueMaterial: {
theme: 'default-dark'
}*/
}Module options
css
- Default:
trueAddsvue-material.min.cssandthemecss to the start ofoptions.css[]
theme
Sets vue-material theme
- Default:
default - Options:
default,default-dark,black-green-dark,black-green-lightPassnullto disable theme in case you're going to use custom one
components
Load only selected components. Will load all framework if empty
- Default:
[]##Changelog Release Notes
License
MIT, made by Galley Web Production