Nuxt/examples/with-vuetify/nuxt.config.js
2018-11-08 02:13:02 +03:30

32 lines
602 B
JavaScript

import VuetifyLoaderPlugin from 'vuetify-loader/lib/plugin'
export default {
/*
** Head elements
** Add Roboto font and Material Icons
*/
head: {
link: [
{
rel: 'stylesheet',
type: 'text/css',
href: 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons'
}
]
},
build: {
plugins: [new VuetifyLoaderPlugin()],
extractCSS: true,
transpile: ['vuetify/lib']
},
/*
** Load Vuetify into the app
*/
plugins: ['~/plugins/vuetify'],
/*
** Load Vuetify CSS globally
*/
css: ['~/assets/app.styl']
}