Skip to main content

Examples

App.svelte
<!-- https://eugenkiss.github.io/7guis/tasks#counter -->
<script>
	let count = 0;
</script>

<input type=number bind:value={count}>
<button on:click="{() => count += 1}">count</button>
loading editor...

Console

loading Svelte compiler...
 
loading editor...

Compiler options

result = svelte.compile(source, {
generate:
css:
});
 
loading editor...