diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index c5e0860bf..da900836f 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -88,6 +88,7 @@ const config = { }, { text: 'Testing Vuex', link: '/guide/advanced/vuex' }, { text: 'Testing Vue Router', link: '/guide/advanced/vue-router' }, + { text: 'Testing Teleport', link: '/guide/advanced/teleport' }, { text: 'Third-party integration', link: '/guide/advanced/third-party' diff --git a/docs/guide/advanced/teleport.md b/docs/guide/advanced/teleport.md new file mode 100644 index 000000000..5e6429e85 --- /dev/null +++ b/docs/guide/advanced/teleport.md @@ -0,0 +1,189 @@ +# Testing Teleport + +Vue 3 comes with a new built-in component: ``, which allows components to "teleport" their content far outside of their own `