Phaser has support for all of the major front-end frameworks and bundlers. The templates are all presented on GitHub using the 'template' setting, allowing you to select the 'Use this template' feature. This allows you to copy the template to your own repository, or open it into GitHub Codespaces.
We support all of the following frameworks and bundlers:
Frameworks | Bundlers |
---|---|
Vue.js | Vite |
React | Rollup |
Angular | Parcel |
Next.js | Webpack |
SolidJS | ESBuild |
Svelte | Import Map |
Remix | Bun |
Most come in both JavaScript and TypeScript versions.
Framework Templates
Pick from the following framework templates:
- React + Vite Template - also available as a TypeScript Template
- Vue 3 + Vite Template - also available as a TypeScript Template
- Angular + Vite Template
- Svelte Template
- NextJS Template
- SolidJS + Vite Template
- Remix Template
Bundler Templates
We also have pure bundler templates, that don't involve using any frameworks. Pick from the following:
- Vite Template - also available as a TypeScript Template
- Webpack Template - also available as a TypeScript Template
- ESBuild Template - also available as a TypeScript Template
- Rollup Template - also available as a TypeScript Template
- Parcel Template - also available as a TypeScript Template
- Import Map Template
- Bun Template