mirror of
https://github.com/woutdp/live_svelte
synced 2026-05-24 09:28:21 +00:00
Ignore svelte/_build file
This commit is contained in:
parent
cf1d8a2048
commit
a7be202fe3
2 changed files with 2 additions and 14 deletions
2
example_project/.gitignore
vendored
2
example_project/.gitignore
vendored
|
|
@ -35,3 +35,5 @@ example-*.tar
|
|||
npm-debug.log
|
||||
/assets/node_modules/
|
||||
|
||||
# Ignore automatically generated Svelte files by the ~V sigil
|
||||
/assets/svelte/_build/
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
Loading…
Reference in a new issue