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

Top comments (0)

🌚 Browsing with dark mode makes you a better developer by a factor of exactly 40.

It's a scientific fact.