Now vbuild
is renamed to poi
Now using poi 9, for 6.0 please see branch 6.0
SAO template for react with vbuild, a bit more flixible than create-react-app
Install SAO first.
$ sao zcong1993/template-react
# the first time
$ sao zcong1993/template-react --install
$ sao react
# the first time
$ yarn global add template-react
# or
$ sao react --install
type: bool
default: false
create a react project support offline
Note:
offline need poi as dev devDependency, if set true, poi will add into devDependencies automatically
type: bool
default: true
add poi as devDependency. Make sure you have installed poi
globally when set false.
type: bool
default: true
use xo
lint your code, you can use npm run lint
and npm run lint:fix
when set true
type: bool
default: false
if using react-jest test your react app.
type: bool
default: true
if need enzyme shallow
lib with test. Only work when test
options set true. More about enzyme shallow
please see document
MIT © zcong1993