Is it possible to run a nuxt.js (starter template) in a subfolder?
The problem is that the assets will point to a wrong path.
Maybe exposing something like next assetPrefix would be great. Also if you're deploying to lamda / api gateway where you have different stages in the url. Like api.
okay, this can be done with router.base
router: {
base: process.env.NODE_ENV === 'dev' ? '/' : '/subfolder/'
},
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
okay, this can be done with router.base
1052