Ignore svelte/_build file

This commit is contained in:
Wout De Puysseleir 2023-04-21 12:25:13 -07:00
parent cf1d8a2048
commit a7be202fe3
2 changed files with 2 additions and 14 deletions

View file

@ -35,3 +35,5 @@ example-*.tar
npm-debug.log
/assets/node_modules/
# Ignore automatically generated Svelte files by the ~V sigil
/assets/svelte/_build/

View file

@ -1,14 +0,0 @@
<script>
export let number = 5
let other = 1
$: combined = other + number
</script>
<div class="flex flex-col">
<p>This is number: {number}</p>
<p>This is other: {other}</p>
<p>This is other + number: {combined}</p>
<button phx-click="increment">Increment</button>
<button on:click={() => (other += 1)}>Increment</button>
</div>