Koen
Nuxt Generate with BaseUrl
When I run
nuxt generate
and then start it with NUXT_APP_BASE_URL=/dash/ npx serve .output/public
all the requests still go to http://127.0.0.1:3000/...
instead of http://127.0.0.1:3000/dash/...
.
I have the same issue when using static images, when i use the following code:
it doesn't work with the baseurl.
it seems that the baseurl doesn't get applied while static starting and when I try to generate it with the baseurl variable set i get errors about images not found. (see attachment)5 replies