Problem with scenes in Phaser 3

JS Classes are not hoisted (well, mostly), so your new Phaser game’s config has no access to your scene declarations. Move them up before your game init.