mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
32 lines
1.0 KiB
TypeScript
32 lines
1.0 KiB
TypeScript
export default defineNuxtConfig({
|
|
modules: ['../src/module', '@nuxthub/core', '@compodium/nuxt'],
|
|
devtools: {
|
|
enabled: true
|
|
},
|
|
|
|
css: ['~/assets/css/main.css'],
|
|
|
|
future: {
|
|
compatibilityVersion: 4
|
|
},
|
|
|
|
compatibilityDate: '2024-07-09',
|
|
|
|
vite: {
|
|
optimizeDeps: {
|
|
// prevents reloading page when navigating between components
|
|
include: ['@internationalized/date', '@vueuse/shared', '@vueuse/integrations/useFuse', '@tanstack/vue-table', 'reka-ui', 'reka-ui/namespaced', 'embla-carousel-vue', 'embla-carousel-autoplay', 'embla-carousel-auto-scroll', 'embla-carousel-auto-height', 'embla-carousel-class-names', 'embla-carousel-fade', 'embla-carousel-wheel-gestures', 'colortranslator', 'tailwindcss/colors', 'tailwind-variants', 'ufo', 'zod', 'vaul-vue']
|
|
}
|
|
},
|
|
|
|
compodium: {
|
|
includeLibraryCollections: false,
|
|
ignore: ['**/App.vue', '**/*Example.vue', '**/Placeholder.vue', '**/*Content.vue', '**/*Provider.vue', 'UToast'],
|
|
extras: {
|
|
colors: {
|
|
neutral: 'slate'
|
|
}
|
|
}
|
|
}
|
|
})
|