{"repo":"phaserjs/template-svelte","free":true,"listed":false,"github":"https://github.com/phaserjs/template-svelte","clone":"git clone https://github.com/phaserjs/template-svelte.git","description":"A Phaser 3 project template that combine Svelte with TypeScript and uses Vite for bundling","language":"TypeScript","stars":82,"topics":["phaser","phaser3","phaserjs","svelete","typescript","vite"],"license":"MIT","category":"game-templates","readme_excerpt":"Phaser Svelte Template This is a Phaser 3 project template that uses the Svelte framework, TypeScript and Vite for bundling. It includes a bridge for Svelte to Phaser game communication, hot-reloading for quick development workflow and scripts to generate production-ready builds. Versions This template has been updated for: - Phaser 3.90.0 - Svelte 5.23.1 - Vite 6.3.1 - TypeScript 5.7.2 Requirements Node.js is required to install dependencies and run scripts via npm . Available Commands Command Description --------- ------------- npm install Install project dependencies npm run dev Launch a development web server npm run build Create a production build in the build folder npm run dev-nolog Launch a development web server without sending anonymous data (see \"About log.js\" below) npm run build-nolog Create a production build in the dist folder without sending anonymous data (see \"About log.js\" below) Writing Code After cloning the repo, run npm install from your project directory. Then, you can start the local development server by running npm run dev . The local development server runs on http://localhost:8080 by default. Please see the Vite documentation if you wish to change this, or add SSL support. Once the server is running you can edit any of the files in the src folder. Vite will automatically recompile your code and then reload the browser. Template Project Structure We have provided a default project structure to get you started. This is as follows: Path Description -","default_branch":null,"files":null,"tree":[],"storefront":"/r/phaserjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/phaserjs/template-svelte/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}