surroundings:
win10 2020.02.01 version
node 10
Required libraries: http-server
1. Right-administrator to run powershell, execution
cnpm install http-server -g
2. go to the root directory of the project, the implementation of
http-server -h
If successful, it will list the IP you can access, just access the server browser is the same performance
I encountered the following problems:
Solution: https://blog.csdn.net/qq_45164496/article/details/102170303
Right administrators run powershell, execution
set-ExecutionPolicy RemoteSigned