Ocelot-Social/webapp/maintenance/source/nuxt.config.maintenance.js
roschaefer d6b7374ddb Change strategy, only build docker image
I couldnt' get the local build to run with the alternative
`nuxt.config.js`. So I'm building docker only now.
2019-09-11 08:43:26 +02:00

64 lines
1.1 KiB
JavaScript

import defaultConfig from './nuxt.config.js'
const {
css,
styleResources,
env: {
locales,
},
manifest,
} = defaultConfig
export default {
css,
styleResources,
env: { locales },
manifest,
head: {
title: 'Human Connection',
meta: [
{
charset: 'utf-8',
},
{
name: 'viewport',
content: 'width=device-width, initial-scale=1',
},
{
hid: 'description',
name: 'description',
content: 'Maintenance page for Human Connection'
},
],
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: '/favicon.ico',
},
],
},
plugins: [
{ src: `~/plugins/styleguide.js`, ssr: true },
{ src: '~/plugins/i18n.js', ssr: true },
{ src: '~/plugins/v-tooltip.js', ssr: false },
],
modules: [
'cookie-universal-nuxt',
'@nuxtjs/style-resources',
],
router: {
extendRoutes(routes, resolve) {
routes.push({
name: 'maintenance',
path: '*',
component: resolve(__dirname, 'pages/index.vue')
})
}
}
}