mirror of https://github.com/sveltejs/svelte
parent
024a7487ea
commit
ef8a3f9c6b
@ -0,0 +1,9 @@
|
|||||||
|
export default {
|
||||||
|
compileOptions: {
|
||||||
|
dev: true
|
||||||
|
},
|
||||||
|
props: {
|
||||||
|
tag: 123
|
||||||
|
},
|
||||||
|
error: '<svelte:element> expects "this" attribute to be a string.'
|
||||||
|
};
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
export let tag;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<svelte:element this={tag} />
|
||||||
Loading…
Reference in new issue