Files
neo/frontend/nuxt.config.ts
Francisco Gaona a6f1da28b2 Code formatting
2025-11-25 23:17:54 +01:00

57 lines
1.1 KiB
TypeScript

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxtjs/tailwindcss', '@nuxtjs/color-mode', 'shadcn-nuxt'],
shadcn: {
/**
* Prefix for all the imported component.
* @default "Ui"
*/
prefix: '',
/**
* Directory that the component lives in.
* Will respect the Nuxt aliases.
* @link https://nuxt.com/docs/api/nuxt-config#alias
* @default "@/components/ui"
*/
componentDir: '@/components/ui',
},
colorMode: {
classSuffix: '',
},
runtimeConfig: {
public: {
apiBaseUrl: process.env.NUXT_PUBLIC_API_BASE_URL || 'http://localhost:3000',
},
},
app: {
head: {
title: 'Neo Platform',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
],
},
},
typescript: {
strict: true,
},
vite: {
server: {
hmr: {
clientPort: 3001,
},
allowedHosts: ['jupiter.routebox.co', 'localhost', '127.0.0.1'],
},
},
compatibilityDate: '2024-01-01',
})