1.0.3 • Published 5 years ago
serve-single v1.0.3
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]