mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
parent
2c26730b93
commit
83f8b1183c
@ -1,3 +1,5 @@
|
|||||||
|
import VuetifyLoaderPlugin from 'vuetify-loader/lib/plugin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
/*
|
/*
|
||||||
** Head elements
|
** Head elements
|
||||||
@ -14,7 +16,9 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
build: {
|
build: {
|
||||||
extractCSS: true
|
plugins: [new VuetifyLoaderPlugin()],
|
||||||
|
extractCSS: true,
|
||||||
|
transpile: ['vuetify/lib']
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
** Load Vuetify into the app
|
** Load Vuetify into the app
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
"name": "example-with-vuetify",
|
"name": "example-with-vuetify",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"nuxt-edge": "latest",
|
"nuxt-edge": "latest",
|
||||||
"vuetify": "latest"
|
"vuetify": "latest",
|
||||||
|
"vuetify-loader": "latest"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nuxt",
|
"dev": "nuxt",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import Vuetify from 'vuetify'
|
import Vuetify from 'vuetify/lib'
|
||||||
import colors from 'vuetify/es5/util/colors'
|
import colors from 'vuetify/es5/util/colors'
|
||||||
|
|
||||||
// You can also specify those components you are going to use for "a la carte" build:
|
// You can also specify those components you are going to use for "a la carte" build:
|
||||||
|
Loading…
Reference in New Issue
Block a user