Create Phaser 3 games with Svelte 3
Check out the documentation
``shell
npx degit mattjennings/svelte-phaser/templates/svite my-first-game
cd my-first-game
npm install
npm run dev
npx degit mattjennings/svelte-phaser/templates/svite-typescript my-first-game
cd my-first-game
npm install
npm run dev
`
There are some other templates available as well
If a blank project is too boring, feel free to look through the examples.
If you have an existing svelte project you can just install svelte-phaser:
`shell`
npm install phaser svelte-phaser
and then import it:
`svelte
``