App.svelte
Profile.svelte
<script> import Profile from "./Profile.svelte"; </script> <Profile> <span slot="name">Bob</span> <span slot="email">bob@email.com</span> </Profile> <Profile> <span slot="name">Alice</span> <span slot="phone">12345678</span> </Profile>
loading editor...
Console
loading Svelte compiler...
xxxxxxxxxx
1
1
loading editor...
Compiler options
result = svelte.compile(source, {
generate:
});xxxxxxxxxx
1
1
loading editor...
No AST available
The AST is not public API and may change at any point in time