theplay3r
Explore posts from serversapp.baseURL being ignored
Hey,
I'm trying to generate a static page using Nuxt 3.12.4, but by default, it uses links with
href=/_nuxt/..
and this doesn't work for me.
What I'm trying to get are relative paths - eg. href=./_nuxt/..
and upon some researching, I found out about the app.baseURL
config property.
Setting this property for example to /test/
works fine, my links look like href=/test/_nuxt/..
.
However, setting this property to ./
seems to get ignored and I end up with the default links href=/_nuxt/..
.
Why is that?
Is there any other way for me to achieve my goal?
This is my config:
I have a brand new Nuxt project with nothing added to it.3 replies