cd current-project-root
npm install
npm build
For the test, I used a third-party http-server.
cd current-project-root
http-server --port 9000 out
Starting up http-server, serving out
http-server version: 14.1.1
http-server settings:
CORS: disabled
Cache: 3600 seconds
Connection Timeout: 120 seconds
Directory Listings: visible
AutoIndex: visible
Serve GZIP Files: false
Serve Brotli Files: false
Default File Extension: none
Available on:
http://172.19.0.1:9000
http://192.168.1.104:9000
http://127.0.0.1:9000
Hit CTRL-C to stop the server