Problem Description
When using the component in a Nuxt 3 project, I encountered an issue where the page works fine on the initial visit but suddenly redirects to the homepage upon refreshing.
Upon investigation, I found that this issue is related to the server-side rendering (SSR) mechanism in Nuxt 3. Specifically, there is an inconsistency between client-side and server-side rendering of the component, leading to the redirection issue upon page refresh.
Describe the bug
Problem Description When using the component in a Nuxt 3 project, I encountered an issue where the page works fine on the initial visit but suddenly redirects to the homepage upon refreshing.
Upon investigation, I found that this issue is related to the server-side rendering (SSR) mechanism in Nuxt 3. Specifically, there is an inconsistency between client-side and server-side rendering of the component, leading to the redirection issue upon page refresh.
`
`
Steps to reproduce
.
Link to minimal reproduction
/
System Info
Used Package Manager
pnpm
Validations