npm install
npm run dev -- --open
If you came here looking for the Hunger Games Simulator, it’s here:
To create the page /foo/bar/baz
, create the directories
in the src/routes
directory, in this case, create /src/routes/foo/bar/baz
, and then create a +page.svelte
file in that directory, containing
<script>
import Page from '$lib/components/Page.svelte';
</script>
<Page name="Page Name Goes Here" />
<!-- Page Content Goes Here -->