web/nuxt.config.ts
Yoga Pangestu 108741d877 feat: initialize Nuxt 4 project with Tailwind CSS and Shadcn components
- Added nuxt.config.ts for project configuration
- Created package.json with necessary dependencies and scripts
- Added favicon.ico for branding
- Included robots.txt for search engine directives
- Set up tsconfig.json for TypeScript support
2026-07-23 20:41:23 +07:00

21 lines
551 B
TypeScript

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
modules: ['@nuxtjs/tailwindcss', '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'
}
})