This repository has been archived on 2021-11-08. You can view files and clone it, but cannot push or open issues or pull requests.
svelte-sharg/src/App.svelte
Tobias Berger 416585e0da Fix some styling & layout things and use events instead of imports
- No component should import SharkGame except App.svelte, except *as a type*
  - use props instead
- Add events for Log
- Make tab not use name but the actual tab instead
2021-09-28 14:24:49 +02:00

12 lines
330 B
Svelte

<script lang="ts">
import Footer from "./components/Footer.svelte";
import Header from "./components/Header.svelte";
import Wrapper from "./components/Wrapper.svelte";
import { SharkGame } from "./shark/SharkGame";
SharkGame.init();
</script>
<Header title={SharkGame.title} />
<Wrapper game={SharkGame} />
<Footer />