You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
996 B
45 lines
996 B
module.exports = {
|
|
/*
|
|
** Headers of the page
|
|
*/
|
|
head: {
|
|
title: 'AI小财神',
|
|
meta: [
|
|
{ charset: 'utf-8' },
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ name: 'keywords', content: 'AI小财神' },
|
|
{ name: 'description', content: 'AI小财神' }
|
|
],
|
|
link: [
|
|
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
|
|
]
|
|
},
|
|
/*
|
|
** Customize the progress bar color
|
|
*/
|
|
loading: { color: '#3B8070' },
|
|
/*
|
|
** Build configuration
|
|
*/
|
|
build: {
|
|
/*
|
|
** Run ESLint on save
|
|
*/
|
|
extend(config, { isDev, isClient }) {
|
|
if (isDev && isClient) {
|
|
config.module.rules.push({
|
|
enforce: 'pre',
|
|
test: /\.(js|vue)$/,
|
|
loader: 'eslint-loader',
|
|
exclude: /(node_modules)/
|
|
})
|
|
}
|
|
}
|
|
},
|
|
|
|
plugins: [
|
|
{ src: '~/plugins/nuxt-swiper-plugin.js', ssr: false },
|
|
{ src: '~/plugins/element-ui-plugin.js', ssr: false }
|
|
]
|
|
}
|
|
|