elk/nuxt.config.ts

37 lines
729 B
TypeScript
Raw Normal View History

2022-11-13 08:34:43 +03:00
export default defineNuxtConfig({
modules: [
'@vueuse/nuxt',
'@unocss/nuxt',
'@pinia/nuxt',
'@nuxtjs/color-mode',
],
experimental: {
reactivityTransform: true,
inlineSSRStyles: false,
},
css: [
'@unocss/reset/tailwind.css',
2022-11-13 19:05:32 +03:00
'~/styles/vars.css',
2022-11-15 19:39:25 +03:00
'~/styles/global.css',
2022-11-13 08:34:43 +03:00
],
colorMode: {
classSuffix: '',
},
2022-11-14 06:45:20 +03:00
alias: {
querystring: 'rollup-plugin-node-polyfills/polyfills/qs',
},
2022-11-15 20:14:10 +03:00
vite: {
define: {
__BUILD_TIME__: JSON.stringify(new Date().toISOString()),
},
},
2022-11-14 06:33:09 +03:00
postcss: {
plugins: {
'postcss-nested': {},
},
},
2022-11-15 18:54:58 +03:00
runtimeConfig: {
registedAppsUrl: process.env.APPS_JSON_URL || 'http://localhost:3000/registered-apps.json',
},
2022-11-13 08:34:43 +03:00
})