Replies: 1 comment
-
Not sure but depending on your use case, you might be able to use vitepress rewrites instead of transform rules |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Cloudflare Transform Rule so that some visitors to page /XXX actually see page /YYY. These are not redirects: the URL still shows /XXX.
My problem is that <ClientOnly> content uses the URL to decide when to apply, so the client-side content from page /XXX clobbers the content from /YYY (which has no client-side content of its own).
Is there any workaround you can recommend to avoid this behaviour? Maybe by teleporting?
Beta Was this translation helpful? Give feedback.
All reactions