Nuxt/examples/with-vuetify/nuxt.config.js

32 lines
602 B
JavaScript
Raw Normal View History

import VuetifyLoaderPlugin from 'vuetify-loader/lib/plugin'
2018-03-16 16:12:06 +00:00
export default {
2017-06-19 23:04:23 +00:00
/*
** 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'
}
]
2017-06-19 23:04:23 +00:00
},
2018-03-11 21:28:56 +00:00
2017-06-19 23:04:23 +00:00
build: {
plugins: [new VuetifyLoaderPlugin()],
extractCSS: true,
transpile: ['vuetify/lib']
2017-06-19 23:04:23 +00:00
},
/*
** Load Vuetify into the app
*/
plugins: ['~/plugins/vuetify'],
2017-06-19 23:04:23 +00:00
/*
** Load Vuetify CSS globally
*/
css: ['~/assets/app.styl']
2017-03-14 20:13:39 +00:00
}