Contains React components, lib modules, etc used in cleared projects
- Components - React components
- Lib - Utility functions
- Config - Configuration files
npm i git+ssh://[email protected]:cleared/cleared-shared --save
# or for a specific version
npm i git+ssh://[email protected]:cleared/cleared-shared#v1.0.6 --save
npm install
# clone the repo
git clone [email protected]:barryph/cleared-shared.git
# cd into the project
cd cleared-shared
# install deps
npm install
# create a npm link of this project
npm link
# cd into the portal repo
cd ../cleared-patient-portal
# use the previously created cleared-shared npm link
npm link cleared-shared
Make sure cleared-shared has been built
npm run build
or is running in dev mode for hot reloading
npm run dev
# Run webpack in watch mode
npm run dev
# Build project
npm run build