mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-10 09:39:14 +08:00
add test
This commit is contained in:
parent
6365deb4b4
commit
ea5e51bb3a
@ -153,6 +153,20 @@ const transpile = (
|
||||
</>
|
||||
`,
|
||||
},
|
||||
{
|
||||
name: 'directive in slot',
|
||||
from: `
|
||||
<>
|
||||
<A>
|
||||
<B><div /></B>
|
||||
</A>
|
||||
<A><div v-xxx /></A>
|
||||
<A>
|
||||
<B><div v-xxx /></B>
|
||||
</A>
|
||||
</>
|
||||
`,
|
||||
},
|
||||
{
|
||||
name: 'vModels',
|
||||
from: '<C v-models={[[foo, ["modifier"]], [bar, "bar", ["modifier1", "modifier2"]]]} />',
|
||||
|
Loading…
Reference in New Issue
Block a user