2.2.10 • Published 5 years ago
bizly-header2 v2.2.10
Bizly Header
How to test locally
- Pull this repo
cd
into the project directory and runnpm install
locally- Run
npm link
- Switch to any projects where you can install the Header
- Add the header by running
npm i bizly-header --save
- In the project root (Layout.js) component add
import Header from 'bizly-header'
- Add react component in render method
<Header />
- Run
npm start
and go to your host app (Profile) and start it tools - Now any changes you make in the header component code will auto-reload the header (sometimes you need to refresh host app to see the changes, need to fix webpack watcher)