React application starter with ui library in Lerna monorepo and war building
- app
- build
- lerna
- maven
- react
- spa
- starter
- template
- uilib
- war
React application starter with ui library in Lerna monorepo
Antony Budianto's react-lib-starter
Alexander Lapygin <alexanderlapygin@gmail.com>
- Clone this repo
- Install dependencies
# yarn is fine too
npm i
- Run bootstrap
npm run bootstrap
This will bootstrap and link between app and lib 4. Now, it's ready!
- Run start
npm run start:dev:lib
npm run start:dev:app
- Try changing the lib, it should reflect the changes directly
- Now, you can start developing your React library!
Being at the root directory, execute
npm run build:war
After successful build the result will be the packages/example-app/target/example-app-war.war file.
Licensed under the MIT license.