https://github.com/geocine/phaser3-rollup-typescript
Phaser 3 TypeScript Starter
https://github.com/geocine/phaser3-rollup-typescript
phaser3 rollupjs typescript vitejs
Last synced: 6 months ago
JSON representation
Phaser 3 TypeScript Starter
- Host: GitHub
- URL: https://github.com/geocine/phaser3-rollup-typescript
- Owner: geocine
- License: mit
- Created: 2020-03-16T11:42:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-08T10:53:54.000Z (over 1 year ago)
- Last Synced: 2025-03-30T09:09:50.758Z (6 months ago)
- Topics: phaser3, rollupjs, typescript, vitejs
- Language: TypeScript
- Homepage: https://phaser3-rollup-typescript.netlify.app/
- Size: 130 KB
- Stars: 275
- Watchers: 9
- Forks: 53
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![]()
Phaser 3 TypeScript Starter
This is a [Phaser 3](https://github.com/photonstorm/phaser) starter with [TypeScript](https://www.typescriptlang.org/), [Rollup](https://rollupjs.org) with ⚡️ lightning fast HMR through [Vite](https://vitejs.dev/).
## Available Commands
| Command | Description |
|---------|-------------|
| `yarn install` | Install project dependencies |
| `yarn dev` | Builds project and open web server, watching for changes |
| `yarn build` | Builds code bundle with production settings |
| `yarn serve` | Run a web server to serve built code bundle |## Development
After cloning the repo, run `yarn install` from your project directory. Then, you can start the local development
server by running `yarn dev` and navigate to http://localhost:3000.## Production
After running `yarn build`, the files you need for production will be on the `dist` folder. To test code on your `dist` folder, run `yarn serve` and navigate to http://localhost:5000