nuxt.config.ts 882 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // https://nuxt.com/docs/api/configuration/nuxt-config
  2. export default defineNuxtConfig({
  3. ssr: false, // SPA 모드 활성화
  4. app: {
  5. head: {
  6. titleTemplate: '',
  7. title: '그린웨일글로벌',
  8. htmlAttrs: {
  9. lang: 'ko'
  10. },
  11. link: [
  12. //{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
  13. ],
  14. script: [
  15. {
  16. src: 'https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=5qsxjdotgi',
  17. defer: true
  18. }
  19. ]
  20. },
  21. },
  22. modules: ['@nuxt/ui'],
  23. ui: {
  24. colorMode: false
  25. },
  26. css: [
  27. '~/assets/styles/style.css',
  28. '~/assets/styles/sub.css'
  29. ],
  30. compatibilityDate: '2025-07-15',
  31. devtools: { enabled: false },
  32. devServer: {
  33. host: "0.0.0.0"
  34. },
  35. runtimeConfig: {
  36. public: {
  37. apiBase: process.env.NUXT_PUBLIC_API_BASE || 'http://localhost'
  38. }
  39. }
  40. })