forked from urvishpatelce/lxd-app
feat: change structure
This commit is contained in:
19
app/nuxt.config.ts
Normal file
19
app/nuxt.config.ts
Normal file
@ -0,0 +1,19 @@
|
||||
// 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
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user