mirror of
https://github.com/elk-zone/elk
synced 2024-12-04 17:58:07 +09:00
37 lines
729 B
TypeScript
37 lines
729 B
TypeScript
export default defineNuxtConfig({
|
|
modules: [
|
|
'@vueuse/nuxt',
|
|
'@unocss/nuxt',
|
|
'@pinia/nuxt',
|
|
'@nuxtjs/color-mode',
|
|
],
|
|
experimental: {
|
|
reactivityTransform: true,
|
|
inlineSSRStyles: false,
|
|
},
|
|
css: [
|
|
'@unocss/reset/tailwind.css',
|
|
'~/styles/vars.css',
|
|
'~/styles/global.css',
|
|
],
|
|
colorMode: {
|
|
classSuffix: '',
|
|
},
|
|
alias: {
|
|
querystring: 'rollup-plugin-node-polyfills/polyfills/qs',
|
|
},
|
|
vite: {
|
|
define: {
|
|
__BUILD_TIME__: JSON.stringify(new Date().toISOString()),
|
|
},
|
|
},
|
|
postcss: {
|
|
plugins: {
|
|
'postcss-nested': {},
|
|
},
|
|
},
|
|
runtimeConfig: {
|
|
registedAppsUrl: process.env.APPS_JSON_URL || 'http://localhost:3000/registered-apps.json',
|
|
},
|
|
})
|