DEV Community

ChuangWANG
ChuangWANG

Posted on

Build a static server

the NPM package instruction page:
https://www.npmjs.com/package/live-server

npm install live-server
live-server --port=7890
Enter fullscreen mode Exit fullscreen mode

then you open your browser, and input: localhost:7890

Discussion (0)