mirror of https://github.com/vuejs/core.git
BREAKING CHANGE: `<portal>` has been renamed to `<teleport>`.
`target` prop is also renmaed to `to`, so the new usage will be:
```html
<Teleport to="#modal-layer" :disabled="isMobile">
<div class="modal">
hello
</div>
</Teleport>
```
The primary reason for the renaming is to avoid potential naming
conflict with [native portals](https://wicg.github.io/portals/).
|
||
|---|---|---|
| .. | ||
| __snapshots__ | ||
| transforms | ||
| codegen.spec.ts | ||
| compile.spec.ts | ||
| parse.spec.ts | ||
| scopeId.spec.ts | ||
| testUtils.ts | ||
| transform.spec.ts | ||
| utils.spec.ts | ||