Clone and install the starter-kit from this repository:
# git clone https://github.com/jay19240/WarmeY2K-StarterKit.git # cd WarmeY2K-StarterKit # npm install # npm run dev
Edit the src/game_screen and insert the following line in the onEnter function:
console.log('onEnter');
Go to http://localhost:5173.
You should see "onEnter" in your inspector !