Closed fskarmeta closed 8 months ago
seems to be a known thing for menu components, i guess it should't be used in an SSR context.
However, I used '
<ClientOnly><AMenu>...</AMenu></ClientOnly>
replaced with <span>...</span>
when I wrap it
@fskarmeta Could you provide your solution? 🙏
I tried <ClientOnly>
but it doesnt help
+1
+1
In my current setup I'm using SSR and w have an a-menu component in the home index, when navigating to any route and then wanting to navigate back using the browser the navigations fails.
We get this console error
And the following warning
It can be reproduced in this stackblitz https://stackblitz.com/edit/github-52q5xr-xvhlgv?file=pages%2Fabout.vue,pages%2Findex.vue although here we not have access to the native browser back button the warning can be simulated by navigating from the
About
page to the index using the button I added with thenavigateTo
method.