Bug report
Description
I have a <Wrapper /> component, which is used in every layout component. If I use <teleport/> in <Wrapper/>, something weird will happen. When I navigate to /about, everything is gone and the whole Vue App is destroyed.
Steps to reproduce
Reproduction link / repo: https://github.com/yyyang1996/for-vuepress-issue-1
- Clone this repo.
- Build and serve.
yarn install
yarn build
yarn serve
- Open http://localhost:5050

- Click the button then you link to
/about.
- The content lost and the whole Vue App is destroyed.
Screenshots

Expected behavior

Environment info
- Browser: Microsoft Edge 90.0.818.46
- Vuepress version: 2.0.0-beta.12
Bug report
Description
I have a
<Wrapper />component, which is used in every layout component. If I use<teleport/>in<Wrapper/>, something weird will happen. When I navigate to/about, everything is gone and the whole Vue App is destroyed.Steps to reproduce
Reproduction link / repo: https://github.com/yyyang1996/for-vuepress-issue-1
/about.Screenshots
Expected behavior
Environment info