Command
shuvi dev
- shuvi dev [dir] [options]- dirapp root dirt
- options- --port <port: 3000>specify port
- --host <host: localhost>specify host
- --config <file: ./shuvi.config.js>path to config file
 
 
shuvi dev ./ --port 3300 --host 0.0.0.0 --config ./shuvi.config.js
shuvi build
- shuvi build [dir] [options]- dirapp root dirt
- options- --public-path <url: _shuvi>specify port
- --target <target: ssr>'specify the app output target. eg: spa'
- --router-history <history: browser>specify the hisotry type. 'browser' or 'hash'
- --analyzegenerate html file to help analyze webpack bundle
- --config <file: ./shuvi.config.js>path to config file
 
 
shuvi build ./ --public-path _shuvi --target spa --router-history browser --config ./shuvi.config.js --analyze
shuvi serve
- shuvi serve [dir] [options]- dirapp root dirt
- options- --port <port: 3000>specify port
- --host <host: localhost>specify host
- --config <file: ./shuvi.config.js>path to config file
 
 
shuvi serve ./ --port 3300 --host 0.0.0.0 --config ./shuvi.config.js