A basic project to show how monorepo works using lerna and npm
npm i -g lerna
npm install
-
Install dependencies for packages and create symlinks. Read more here
lerna bootstrap
Open http://localhost:3000 to view it in the browser.
For detailed description of the code please refer my blog https://medium.com/@harshverma04111989/creating-monorepo-using-lerna-dd431d0db072