-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distinguish style isolation, router isolation, and both #4112
Comments
I worked it around by doing this: postcssIsolateStyles({
prefix: ':not(:where(.vp-style-raw, .vp-style-raw *, .vp-raw, .vp-raw *))'
}), and use
|
Use some class other than vp-raw for style conflicts: postcssIsolateStyles({
prefix: ':not(:where(.foo, .foo *))'
}) |
Yeah that's what I did. I guess follow up my comment above, please make this as an enhancement ticket if it's reasonable, otherwise you can close it. |
vp-raw
does not have SPA behaviour, the whole page is refreshed
Describe the bug
It might be intentional, as documented it can be used to prevent router conflicts.
But what if I want the link in
vp-raw
to have SPA behaviour? how can I achieve that? It's giving me headache that I want to both avoid built-in styles but also retain SPA navigation behaviour instead of refreshing the whole page.Reproduction
https://stackblitz.com/edit/vite-l6ciup?file=docs%2Findex.md
Expected behavior
It won't refresh the whole page
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: