An example of using Svelte components to create UI elements for a Phaser game.
This example is based on the Svelte template generated by running
npm init vite. It does not use the full SvelteKit.
Use npm run dev to see the example.
A live example is available.