elk/nuxt.config.ts
2022-11-14 11:45:20 +08:00

27 lines
482 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',
],
colorMode: {
classSuffix: '',
},
alias: {
querystring: 'rollup-plugin-node-polyfills/polyfills/qs',
},
postcss: {
plugins: {
'postcss-nested': {},
},
},
})