20 lines
496 B
TypeScript
20 lines
496 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
app: {
|
|
baseURL: '/app/' // This replaces router.base from Nuxt 2
|
|
},
|
|
ssr: true,
|
|
compatibilityDate: '2025-05-15',
|
|
devtools: { enabled: true },
|
|
runtimeConfig: {
|
|
public: {
|
|
siteUrl: process.env.SITE_URL,
|
|
backendUrl: process.env.BACKEND_URL,
|
|
apiUrl: `${process.env.BACKEND_URL}/api`
|
|
}
|
|
},
|
|
css: [
|
|
'~/assets/css/common.css' // Path to your global CSS file
|
|
],
|
|
})
|