Closed IllegalCreed closed 4 weeks ago
https://stackblitz.com/edit/vitejs-vite-uvxwzb?file=src%2Fviews%2FPageFromView.vue
After I added a transition effect to the router-view, if there is a comment above the root element in my page template, the new page will not appear after the route transition.
Comments should not affect any logic.
new page disppear
No response
https://github.com/vuejs/core/pull/7387 i found the solution
Reproduction
https://stackblitz.com/edit/vitejs-vite-uvxwzb?file=src%2Fviews%2FPageFromView.vue
Steps to reproduce the bug
After I added a transition effect to the router-view, if there is a comment above the root element in my page template, the new page will not appear after the route transition.
Expected behavior
Comments should not affect any logic.
Actual behavior
new page disppear
Additional information
No response