ssr: true, // Static generation still uses SSR at build time
app: {
baseURL: '/site', // Prefix all routes and assets with /site/
},
nitro: {
preset: 'static', // Use static site generation
output: {
publicDir: '../dist', // Output directory for static files
},
},
modules: ['@nuxt/ui', '@nuxt/icon'],
})
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: { enabled: true },
ssr: true, // Static generation still uses SSR at build time
app: {
baseURL: '/site', // Prefix all routes and assets with /site/
},
nitro: {
preset: 'static', // Use static site generation
output: {
publicDir: '../dist', // Output directory for static files
},
},
modules: ['@nuxt/ui', '@nuxt/icon'],
})
Still having issues where my nginx and fastapi isnt able to serve nuxt3app and I when I access the site, I keep getting `{'detail': "Not found'}
API/Backend/main.py