Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 767 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 767 Bytes

Single Page Application Server Tool

serve-spa requires Node.js v8+ to run.

Install the dependencies and build with this command.

node fuse.js

Then start the server

node dist/serve-single.js --port 8080 --path ./public
Usage: serve-single.js --<command> <value>

Options:
  --version     Show version number                                    [boolean]
  --port, --po  HTTP PORT                                    [number]  [required]
  --path, --pa  PUBLIC PATH                                  [string]  [required]
  --help        Show help                                              [boolean]

Missing required arguments: port, path
Please provide both port and path arguments to work with this tool