92 lines
1.7 KiB
JavaScript
92 lines
1.7 KiB
JavaScript
import VuetifyLoaderPlugin from 'vuetify-loader/lib/plugin'
|
|
import pkg from './package'
|
|
|
|
export default {
|
|
mode: 'universal',
|
|
/*
|
|
** Headers of the page
|
|
*/
|
|
head: {
|
|
title: 'ISWIsion 2021',
|
|
meta: [
|
|
{ charset: 'utf-8' },
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ hid: 'description', name: 'description', content: pkg.description }
|
|
],
|
|
link: [
|
|
{ rel: 'icon', type: 'image/x-icon', href: './favicon.png' },
|
|
]
|
|
},
|
|
|
|
/*
|
|
** Customize the progress-bar color
|
|
*/
|
|
loading: { color: '#fff' },
|
|
|
|
/*
|
|
** Global CSS
|
|
*/
|
|
css: ['~/assets/style/app.styl'],
|
|
|
|
/*
|
|
** Plugins to load before mounting the App
|
|
*/
|
|
plugins: ['@/plugins/vuetify'],
|
|
|
|
/*
|
|
** Nuxt.js modules
|
|
*/
|
|
modules: [
|
|
// Doc: https://axios.nuxtjs.org/usage
|
|
'@nuxtjs/axios',
|
|
'nuxt-leaflet',
|
|
'nuxt-mq'
|
|
],
|
|
/*
|
|
** Axios module configuration
|
|
*/
|
|
axios: {
|
|
// See https://github.com/nuxt-community/axios-module#options
|
|
},
|
|
|
|
mq: {
|
|
defaultBreakpoint: 'default',
|
|
breakpoints: {
|
|
mobile: 450,
|
|
tablet: 1100,
|
|
laptop: 1250,
|
|
desktop: Infinity
|
|
}
|
|
},
|
|
router: {
|
|
base: '/iswision2021/'
|
|
},
|
|
|
|
/*
|
|
** Build configuration
|
|
*/
|
|
build: {
|
|
transpile: ['vuetify/lib'],
|
|
plugins: [new VuetifyLoaderPlugin()],
|
|
loaders: {
|
|
stylus: {
|
|
import: ['~assets/style/variables.styl']
|
|
}
|
|
},
|
|
/*
|
|
** You can extend webpack config here
|
|
*/
|
|
extend(config, ctx) {
|
|
// Run ESLint on save
|
|
if (ctx.isDev && ctx.isClient) {
|
|
config.module.rules.push({
|
|
enforce: 'pre',
|
|
test: /\.(js|vue)$/,
|
|
loader: 'eslint-loader',
|
|
exclude: /(node_modules)/
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|