vue3-yuanma/packages
Evan You af9e6999e1 feat: support casting plain element to component via is="vue:xxx"
In Vue 3's custom elements interop, we no longer process `is` usage on
known native elements as component casting. (ref:
https://v3.vuejs.org/guide/migration/custom-elements-interop.html)
This introduced the need for `v-is`. However, since it is a directive,
its value is considered a JavaScript expression. This makes it awkward
to use (e.g. `v-is="'foo'"`) when majority of casting is non-dynamic,
and also hinders static analysis when casting to built-in Vue
components, e.g. transition-group.

This commit adds the ability to cast a native element to a Vue component
by simply adding a `vue:` prefix:

```html
<button is="vue:my-button"></button>
<ul is="vue:transition-group" tag="ul"></ul>
```
2021-04-12 13:08:07 -04:00
..
compiler-core feat: support casting plain element to component via is="vue:xxx" 2021-04-12 13:08:07 -04:00
compiler-dom wip: testing compiler deprecation warnings 2021-04-12 09:09:00 -04:00
compiler-sfc release: v3.0.11 2021-04-01 19:52:45 -04:00
compiler-ssr release: v3.0.11 2021-04-01 19:52:45 -04:00
reactivity release: v3.0.11 2021-04-01 19:52:45 -04:00
runtime-core wip: staticStyle and staticClass 2021-04-11 22:21:10 -04:00
runtime-dom wip: fix render fn compat detection 2021-04-11 11:15:40 -04:00
runtime-test release: v3.0.11 2021-04-01 19:52:45 -04:00
server-renderer release: v3.0.11 2021-04-01 19:52:45 -04:00
sfc-playground release: v3.0.11 2021-04-01 19:52:45 -04:00
shared wip: restructure compat code + global api alignment 2021-04-07 16:19:24 -04:00
size-check release: v3.0.11 2021-04-01 19:52:45 -04:00
template-explorer release: v3.0.11 2021-04-01 19:52:45 -04:00
vue wip: vm.$listeners compat 2021-04-08 10:06:12 -04:00
vue-compat wip: vm.$listeners compat 2021-04-08 10:06:12 -04:00
global.d.ts wip: initial compat build setup 2021-04-07 16:19:24 -04:00