Nuxt/test/fixtures/encoding/nuxt.config.js
pooya parsa cc1f6d94b5
fix: handle route encoding (#8325)
Co-authored-by: farnabaz <farnabaz@users.noreply.github.com>
2020-11-30 23:10:02 +01:00

13 lines
199 B
JavaScript

export default {
router: {
base: '/ö/'
},
hooks: {
'vue-renderer:context' (ssrContext) {
if (ssrContext.url.includes('?spa')) {
ssrContext.spa = true
}
}
}
}