Question · Vue.js course · Module 8: Slots & Dynamic Components

Multiple Teleports to the same target

Can you have multiple <Teleport> elements rendering to the same target?

Answer options

  • No, only one Teleport per target
  • Yes, but they overwrite each other
  • Only with the :multiple="true" flag
  • Yes, the content is appended in order

You can check the correct answer by solving this task in the CodeWorlds game.