First working example with Svelte (the menu icon shows up on entering the game)

This commit is contained in:
David Négrier
2021-05-12 18:32:55 +02:00
parent 62cc1f73ca
commit 1885ea42a4
9 changed files with 57 additions and 4918 deletions
+5
View File
@@ -1,6 +1,11 @@
<script lang="typescript">
import MenuIcon from "./Menu/MenuIcon.svelte";
import {menuIconVisible} from "../Stores/MenuStore";
</script>
<div>
{#if $menuIconVisible}
<MenuIcon />
{/if}
</div>