mirror of https://github.com/nocodb/nocodb
Braks
2 years ago
committed by
Pranav C
1 changed files with 18 additions and 3 deletions
@ -1,26 +1,41 @@ |
|||||||
|
import path from 'path' |
||||||
import { defineNuxtConfig } from 'nuxt' |
import { defineNuxtConfig } from 'nuxt' |
||||||
|
import vueI18n from '@intlify/vite-plugin-vue-i18n' |
||||||
|
|
||||||
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
||||||
export default defineNuxtConfig({ |
export default defineNuxtConfig({ |
||||||
modules: ['nuxt3-store'], |
modules: ['nuxt3-store', '@vueuse/nuxt'], |
||||||
|
|
||||||
ssr: false, |
ssr: false, |
||||||
|
|
||||||
css: ['vuetify/lib/styles/main.sass'], |
css: ['vuetify/lib/styles/main.sass'], |
||||||
|
|
||||||
build: { |
build: { |
||||||
transpile: ['vuetify'], |
transpile: ['vuetify'], |
||||||
}, |
}, |
||||||
|
|
||||||
meta: { |
head: { |
||||||
title: 'NocoDB', |
title: 'NocoDB', |
||||||
description: 'NocoDB GUI V2', |
description: 'NocoDB GUI V2', |
||||||
titleTemplate: (titleChunk) => { |
titleTemplate: (titleChunk: string) => { |
||||||
// If undefined or blank then we don't need the hyphen
|
// If undefined or blank then we don't need the hyphen
|
||||||
return titleChunk ? `${titleChunk} - NocoDB` : 'NocoDB' |
return titleChunk ? `${titleChunk} - NocoDB` : 'NocoDB' |
||||||
}, |
}, |
||||||
}, |
}, |
||||||
|
|
||||||
vite: { |
vite: { |
||||||
|
plugins: [ |
||||||
|
vueI18n({ |
||||||
|
include: path.resolve(__dirname, './lang'), |
||||||
|
}), |
||||||
|
], |
||||||
define: { |
define: { |
||||||
'process.env.DEBUG': 'false', |
'process.env.DEBUG': 'false', |
||||||
}, |
}, |
||||||
}, |
}, |
||||||
|
|
||||||
|
experimental: { |
||||||
|
reactivityTransform: true, |
||||||
|
viteNode: false, |
||||||
|
}, |
||||||
}) |
}) |
||||||
|
Loading…
Reference in new issue