Install dev deps after git clone the repo.
$ yarnBootstrap every package with yarn. (Need to execute when new package is included)
$ npm run bootstrap -- --npm-client yarnLink umi globally.
$ cd packages/umi
$ yarn linkMonitor file changes and transform with babel.
$ npm run build -- --watchRun test for a specified package.
$ lerna exec --scope af-webpack -- npm run debugRun umi dev in examples/simple.
$ cd examples/func-test
$ umi dev
# Specifiy the port
$ PORT=8001 umi devThen open http://localhost:8000/ in your browser.
Run umi build in examples/simple.
$ cd examples/func-test
$ umi build
# Build without compress
$ NO_COMPRESS=true umi buildPublish to npm.
$ npm run publish