66 lines
1.3 KiB
TypeScript
66 lines
1.3 KiB
TypeScript
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-05-15',
|
|
devtools: { enabled: true },
|
|
|
|
modules: [
|
|
'@nuxt/eslint',
|
|
'@nuxt/fonts',
|
|
'@nuxt/icon',
|
|
'@nuxt/image',
|
|
'@nuxt/test-utils',
|
|
'shadcn-nuxt',
|
|
'@nuxtjs/color-mode',
|
|
'@pinia/nuxt',
|
|
],
|
|
|
|
css: ['~/assets/css/tailwind.css', '~/assets/css/sonner.css'],
|
|
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
},
|
|
|
|
shadcn: {
|
|
/**
|
|
* Prefix for all the imported component
|
|
*/
|
|
prefix: '',
|
|
/**
|
|
* Directory that the component lives in.
|
|
* @default "./components/ui"
|
|
*/
|
|
componentDir: './components/ui',
|
|
},
|
|
|
|
colorMode: {
|
|
classSuffix: '',
|
|
},
|
|
|
|
icon: {
|
|
mode: 'svg',
|
|
serverBundle: 'local',
|
|
provider: 'iconify',
|
|
},
|
|
|
|
app: {
|
|
head: {
|
|
title: 'Warren',
|
|
htmlAttrs: {
|
|
lang: 'en',
|
|
},
|
|
},
|
|
},
|
|
|
|
ssr: false,
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
apiBase: '/api',
|
|
cookiesSecure: 'false',
|
|
cookiesSameSite: 'strict',
|
|
},
|
|
},
|
|
});
|