This is a mono-repo demo. If you want a mono-repo + react template, just clone it.
With lerna, there are 3 sub-projects:
common
: shared componentsamaze
: a react project using common projectcyber
: another react project using common project
run amaze
yarn start:aSite
run cyber
yarn start:cSite
build amaze
yarn build:aSite
build cyber
yarn build:cSite
这是一个mono-repo + react的示例项目
本项目使用lerna管理了三个子项目:
common
: 公共组件amaze
: amaze后台cyber
: cyber后台