| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- // https://nuxt.com/docs/api/configuration/nuxt-config
- export default defineNuxtConfig({
- ssr: false, // SPA 모드 활성화
- nitro: {
- prerender: {
- routes: ['/'], // 오직 루트 페이지만 prerender
- crawlLinks: false // 자동 크롤링 비활성화
- }
- },
- app: {
- head: {
- titleTemplate: '',
- title: 'Audi',
- htmlAttrs: {
- lang: 'ko'
- },
- link: [
- //{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
- ],
- script: [
- {
- //src: 'https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=5qsxjdotgi',
- //defer: true
- }
- ]
- },
- },
- modules: ['@nuxt/ui'],
- ui: {
- colorMode: false
- },
- css: [
- '~/assets/scss/style.scss',
- '~/assets/scss/media.scss',
- '~/assets/scss/admin.scss',
- '~/assets/scss/responsive.scss',
- ],
- vite: {
- css: {
- preprocessorOptions: {
- scss: {
- additionalData: ''
- }
- }
- },
- server: {
- watch: {
- usePolling: true, // Windows 파일 감시 안정화
- }
- },
- optimizeDeps: {
- exclude: ['sass']
- }
- },
- compatibilityDate: '2025-07-15',
- devtools: { enabled: false },
- devServer: {
- host: "0.0.0.0"
- },
- runtimeConfig: {
- public: {
- apiBase: process.env.NUXT_PUBLIC_API_BASE || 'http://gojinaudi.mycafe24.com',
- imageBase: process.env.NUXT_PUBLIC_IMAGE_BASE || 'http://gojinaudi.mycafe24.com'
- }
- }
- })
|