nva-server
v0.7.2
Published
frontend static server
Downloads
628
Readme
nva-server
frontend project development server
Install
npm install nva-server --save
Usage
nva-server -p 5000 -c src
cli options
-v
or--version
package version--protocol
server listen protocol--host
server listen hostname-p
or--port
server listen port-c
or--content
serve content path-a
or--asset
serve asset path,if not set then content value by default-m
or--mock
mock api configs file path-b
or--browser
which browser to open-i
or--index
started url--config
server config--log
enable log of request--rewrites
enable rewrites request to index.html--cors
allows cross origin access serving