nuxt-vue-material

1.2.0 • Public • Published

NUXT VUE-MATERIAL

npm (scoped with tag) npm

Plugin to join nuxt and vue-material framework.

Setup

  • Add nuxt-vue-material dependency using npm to your project
  • Add nuxt-vue-material to modules section of nuxt.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 Adds vue-material.min.css and theme css to the start of options.css[]

theme

Sets vue-material theme

  • Default: default
  • Options: default, default-dark, black-green-dark, black-green-light
    Pass null to 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

Package Sidebar

Install

npm i nuxt-vue-material

Weekly Downloads

520

Version

1.2.0

License

MIT

Unpacked Size

5.73 kB

Total Files

6

Last publish

Collaborators

  • vaso2