nuxt-vue-material
v1.2.0
Published
Module to join nuxt and vue-material framework
Downloads
716
Maintainers
Readme
NUXT VUE-MATERIAL
Plugin to join nuxt and vue-material framework.
Setup
- Add
nuxt-vue-material
dependency using npm to your project - Add
nuxt-vue-material
tomodules
section 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:
true
Addsvue-material.min.css
andtheme
css to the start ofoptions.css[]
theme
Sets vue-material theme
- Default:
default
- Options:
default
,default-dark
,black-green-dark
,black-green-light
components
Load only selected components. Will load all framework if empty
- Default:
[]
##Changelog Release Notes
License
MIT, made by Galley Web Production