DEV Community

loading...

Build a static server

ChuangWANG
A short Bio... emmmm...
・1 min read

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)