Vuetify Module
Vuetify Module for Nuxt.js
Setup
- Add
@nuxtjs/vuetify
dependency using yarn or npm to your project - Add
@nuxtjs/vuetify
tomodules
section of yournuxt.config.js
{
modules: [
'@nuxtjs/vuetify'
],
// Vuetify options
vuetify: {
// theme: { }
}
}
Module options
materialIcons
- Default:
true
Adds Material Icons from google fonts api.
css
- Default:
true
Addsvuetify.css
to the start ofoptions.css[]
treeShake
- Default:
false
Uses vuetify-loader to enable automatic tree-shaking. Make sure you add thevuetify-loader
dependency using yarn or npm to your project first.
Development
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
License
Copyright (c) Nuxt Community