create frontend directory
This commit is contained in:
56
frontend/nuxt.config.ts
Normal file
56
frontend/nuxt.config.ts
Normal file
@@ -0,0 +1,56 @@
|
||||
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',
|
||||
],
|
||||
|
||||
css: ['~/assets/css/tailwind.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,
|
||||
});
|
||||
Reference in New Issue
Block a user