Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to handle relative anchor links when the destination is external? - Nuxt
N
Nuxt
•
11mo ago
•
6 replies
Bread
How to handle relative anchor links when the destination is external?
I am using an external CMS and it has some confiurable CTAS
(and rich text
)
.
How can I get those relative URLS
(which I can not change to be absolute
) to proxy through to my CMS backend instead of hitting
[..path].vue
[..path].vue
.
I have a working example here
:
https://stackblitz.com/edit/github-5cmnvyxf?file=pages%2Findex.vue
and setting up a
route-proxy
route-proxy
in
/server/middleware
/server/middleware
makes this work on serverside completely fine
- but navigating client
-side does not
(until refreshing
, hitting server side
)
.
StackBlitz
Sean Thorne
Nuxt - Starter - StackBlitz
Create a new Nuxt project
, module
, layer or start from a theme with our collection of starters
.
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
rehype-external-links
N
Nuxt / ❓・help
8mo ago
Popup for external links
N
Nuxt / ❓・help
7mo ago
How to set basePath to relative ?
N
Nuxt / ❓・help
14mo ago