template-nextjs
template-nextjs copied to clipboard
A Phaser TypeScript project template that uses Next.js
Hi, since I use this template and have been experimenting with it, I wanted to give back a little and submit this PR. I've summarized my changes below. Hope this...
Page seems to reload as expected but the game code does not update
Hi @gammafp , can we have pharser template for NextJS but use app router instead of pages router? Thanks!
Phaser 4 (RC-5), Next.js v16 App Router, React v.19 deprecates forwardRef, code cleanup, other fixes
Further iterating on this: https://github.com/phaserjs/template-nextjs/pull/3 Since these templates and requested features (https://github.com/phaserjs/template-nextjs/issues/5) are not a current priority at the moment for the very busy core team, I thought I would...
Ports it to using app router. Can be kept in a separate branch and linked to in README.md for example. Cannot target any other branch than main from here though....