-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
28 lines (22 loc) · 1023 Bytes
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import process from 'node:process'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
// UI & Style
(!process.env.BASE_DISABLE_TAILWINDCSS || undefined) && '@nuxtjs/tailwindcss',
(!process.env.BASE_DISABLE_COLORMODE || undefined) && '@nuxtjs/color-mode',
(!process.env.BASE_DISABLE_ICON || undefined) && '@nuxt/icon',
// State management
(!process.env.BASE_DISABLE_PINIA || undefined) && '@pinia/nuxt',
(!process.env.BASE_DISABLE_PINIAPERSISTEDSTATE || undefined) && '@pinia-plugin-persistedstate/nuxt',
// Composables
(!process.env.BASE_DISABLE_VUEUSE || undefined) && '@vueuse/nuxt',
// I18n
(!process.env.BASE_DISABLE_I18N || undefined) && '@nuxtjs/i18n',
// Utils
(!process.env.BASE_DISABLE_LODASH || undefined) && 'nuxt-lodash',
(!process.env.BASE_DISABLE_IMAGE || undefined) && '@nuxt/image',
(!process.env.BASE_DISABLE_DAYJS || undefined) && 'dayjs-nuxt',
],
compatibilityDate: '2024-08-13',
})