mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-28 16:42:04 +00:00
test(teleports): use '#teleports' target instead of 'body'
This commit is contained in:
parent
fb2d7b94cd
commit
dafc64a8bf
2
test/fixtures/basic/pages/teleport.vue
vendored
2
test/fixtures/basic/pages/teleport.vue
vendored
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<teleport to="body">
|
<teleport to="#teleports">
|
||||||
<div>Teleport</div>
|
<div>Teleport</div>
|
||||||
</teleport>
|
</teleport>
|
||||||
<h1>Normal content</h1>
|
<h1>Normal content</h1>
|
||||||
|
Loading…
Reference in New Issue
Block a user