mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
While refactoring the login form component I found many inconsistent ways of importing the list of locales. So I decided to refactor the imports altogether. Don't use `process.env` to import locales!
53 lines
1.0 KiB
JavaScript
53 lines
1.0 KiB
JavaScript
import defaultConfig from './nuxt.config.js'
|
|
|
|
const { css, styleResources, manifest } = defaultConfig
|
|
|
|
export default {
|
|
css,
|
|
styleResources,
|
|
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'),
|
|
})
|
|
},
|
|
},
|
|
}
|