npm install http-server -g
Create a project folder and execute the command in the root directory
http-server
The php command can be used php -S 0.0.0.0:8080
The python command can be used python -m SimpleHTTPServer 80
npm install http-server -g
Create a project folder and execute the command in the root directory
http-server
The php command can be used php -S 0.0.0.0:8080
The python command can be used python -m SimpleHTTPServer 80