Recently I want to make a mobile version of my website using react. The current website is a Windows server, iis7 is used as web service, the back-end code is PHP, and the API has been written.
I read a lot of react articles and I’m confused. It’s too confusing.
Following the tutorial on the official website, I used create react app to run a demo on my mac computer.
The question now is how to use this create react app on windows and how to integrate it with the website.
I hope I can do this, put the react code in a directory under the root directory of the website, and then enter this directory to run the react code directly. Now I don’t know how to start at all, so I’ll ask an experienced driver to lead the way.
After development, use
npm run build
to package it. There is a build folder in the same directory, and the index.html in it is, just run it directly,(create-react-app)[https://github.com/facebookin...