Merge branch 'dev' of https://github.com/dikstub-rssa/simrs-fe into fe-integrasi-device-material-65
This commit is contained in:
@@ -15,6 +15,28 @@ export default defineNuxtConfig({
|
||||
},
|
||||
ssr: false,
|
||||
|
||||
// SPA optimizations
|
||||
router: {
|
||||
options: {
|
||||
hashMode: false, // Use history mode for cleaner URLs
|
||||
},
|
||||
},
|
||||
|
||||
// Enable client-side rendering optimizations
|
||||
nitro: {
|
||||
prerender: {
|
||||
crawlLinks: false, // Disable crawling for SPA
|
||||
},
|
||||
},
|
||||
|
||||
// Optimize app loading
|
||||
app: {
|
||||
head: {
|
||||
viewport: 'width=device-width,initial-scale=1',
|
||||
charset: 'utf-8',
|
||||
},
|
||||
},
|
||||
|
||||
modules: [
|
||||
'@unocss/nuxt',
|
||||
'@vueuse/nuxt',
|
||||
|
||||
Reference in New Issue
Block a user