mirror of https://github.com/nocodb/nocodb
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.
51 lines
1.1 KiB
51 lines
1.1 KiB
import path from 'path' |
|
import { defineNuxtConfig } from 'nuxt' |
|
import vueI18n from '@intlify/vite-plugin-vue-i18n' |
|
import Icons from 'unplugin-icons/vite' |
|
|
|
// https://v3.nuxtjs.org/api/configuration/nuxt.config |
|
export default defineNuxtConfig({ |
|
modules: ['@vueuse/nuxt', 'nuxt-windicss'], |
|
|
|
ssr: false, |
|
|
|
css: [ |
|
'virtual:windi.css', |
|
'virtual:windi-devtools', |
|
'vuetify/lib/styles/main.sass', |
|
'~/assets/style/fonts.css', |
|
'~/assets/css/global.css', |
|
'~/assets/style/style.css', |
|
'~/assets/style.css', |
|
'~/assets/style-v2.css', |
|
], |
|
|
|
meta: { |
|
title: 'NocoDB', |
|
description: 'NocoDB GUI V2', |
|
titleTemplate: (titleChunk: string) => { |
|
// If undefined or blank then we don't need the hyphen |
|
return titleChunk ? `${titleChunk} - NocoDB` : 'NocoDB' |
|
}, |
|
}, |
|
|
|
vite: { |
|
plugins: [ |
|
vueI18n({ |
|
include: path.resolve(__dirname, './lang'), |
|
}), |
|
Icons({ |
|
autoInstall: true, |
|
compiler: 'vue3', |
|
}), |
|
], |
|
define: { |
|
'process.env.DEBUG': 'false', |
|
}, |
|
}, |
|
|
|
experimental: { |
|
reactivityTransform: true, |
|
viteNode: false, |
|
}, |
|
})
|
|
|