Frontend Development
Deploy a React project to server
First, you need to confirm node.js, npm and nginx have been installed on your server. We’ll skip this step. Second, swith to your project directory, run the following command. npm run build or yarn build (if you have installed yarn) Then, adit the config file /etc/nginx/nginx.conf worker_processes 1; events { Read more…