GTHell Posted April 28, 2018 Share Posted April 28, 2018 Hi Phaser community! I know It's simple to just use the CDN but as I want to use the latest technology and following the best practice of modular code, I think that only npm give me that power. I'm a web developer and I want my project to be modular like when I'm developing with ReactJs. The core problem is that I don't know how to create a structure like ReactJs because I create a React project I use the react cli `create-react-app app` so I don't know what's going on behind it. Quote Link to comment Share on other sites More sharing options...
Mar-1 Posted June 9, 2018 Share Posted June 9, 2018 You can find some inspiration in this project : https://github.com/lean/phaser-es6-webpack I forked this project to add a little bit of React to serve as a gui system for my phaser games, you may find it useful : https://github.com/bmarwane/phaser-es6-webpack-react Quote Link to comment Share on other sites More sharing options...
IamMyMustache Posted June 18, 2018 Share Posted June 18, 2018 This is also a good site to start familiarizing yourself with NPM : https://www.w3schools.com/nodejs/nodejs_npm.asp There are also quite a few tutorials on Youtube you should check out that can help. Hope that helps! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.