Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
The video for this lesson is currently being updated, please read the transcript instead.
Test-driving Vue 3 > Lesson 5

Teleporting content

Let'snow and look at another new feature of Vue 3 called teleport.

If you've ever created a modal window feature before, you'll know that it's commonly positioned just before the closing </body> tag in the document.

public/index.html

<body>
  <div>
    <!--main page content here-->
  </div>
  <!--modal here-->
</body>

This is done because modals usually have a page-covering background.


Back to course page

Click to load comments...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom