use new config in nuxt
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
const config = require('./server/config.js')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
telemetry: false,
|
telemetry: false,
|
||||||
modern: (process.env.NODE_ENV === 'production') && 'client',
|
modern: (process.env.NODE_ENV === 'production') && 'client',
|
||||||
@@ -12,9 +14,10 @@ module.exports = {
|
|||||||
link: [{ rel: 'icon', type: 'image/png', href: '/logo.png' }]
|
link: [{ rel: 'icon', type: 'image/png', href: '/logo.png' }]
|
||||||
},
|
},
|
||||||
dev: (process.env.NODE_ENV !== 'production'),
|
dev: (process.env.NODE_ENV !== 'production'),
|
||||||
|
server: config.server,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Customize the progress-bar color
|
** Customize the progress-bar component
|
||||||
*/
|
*/
|
||||||
loading: '~/components/Loading.vue',
|
loading: '~/components/Loading.vue',
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user