skip to Main Content

Sounds like a really stupid question, but I’m new to React and I learned to create react apps with the CDN Links and the "npx create-react-app" functions.

Now, I have the files that support the book I’m reading, and I want to view the chapters in a web browser. Most of the files are JavaScript files. Can anyone please tell me how I can do that without pulling my hair out?

I’m set-up as Windows/Apache/htdocs/etc..

Thanks!

2

Answers


  1. Chosen as BEST ANSWER

    To run the server, you need to run these commands in the terminal. npm install npm start


  2. You could use StackBlitz. It’s great platform to build things online. You can create React project without installation, and you can copy and paste the snippets of code your are trying to view from the book.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search