javascript - How to build a react development environment under windows to implement the react version of the website
过去多啦不再A梦
过去多啦不再A梦 2017-06-28 09:25:23
0
1
742

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.

过去多啦不再A梦
过去多啦不再A梦

reply all(1)
某草草

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...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template