This is my first time using Glitch. I want to build a Tic Tac Toe game with React, I remixed the starter React package and worked on setting up my project from a tutorial but I keep on having error on my log and nothing appears on my page. Any cues would be greatly appreciated. Thanks
[To prevent unauthorized access to your project, please do not post invite links publicly online. Instead, you can send invites individually to users who you want to help you]
Hi @Lila_Ait! You mentioned that you’re following a tutorial — it looks like that tutorial might expect you to be working client side, rather than from an Express server.
The project you remixed from (~starter-react) gets webpack to compile everything into bundle.js, which is linked at the bottom of app/index.html. You’ll need that in your index.html file as well, and you’ll need to use Node’s require and module.exports syntax instead of the import/export default syntax you’re using in your project.
Because your entry point is index.js, you’ll need to point the webpack.config.js file to that instead of app.js, too.
I remixed your project and made those fixes here — be sure to add your components to the app/components/ directory as you go along. Hope this helps you continue with the tutorial!