Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to set basePath to relative ? - Nuxt
N
Nuxt
•
14mo ago
•
5 replies
npldev
How to set basePath to relative ?
Hi
, I
'm looking for a way to change the
/
_nuxt
/ path in my static build to
.
/
_nuxt
/
I found this in the docs
:
https://nuxt.com/docs/api/nuxt-config#baseurl
, but when I change it to
'
.
/
'
, it gets rewritten in the build to
'
/
'
.
Nuxt
Join
Nuxt Community Chat Server
31,686
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to set production port?
N
Nuxt / ❓・help
9mo ago
How to set css variables
N
Nuxt / ❓・help
12mo ago
NuxtImage: Relative import
N
Nuxt / ❓・help
14mo ago