Demo/Debug application for react-d3-tree
⚠️ DEPRECATED⚠️
This auxilliary demo repo has been archived and is no longer maintained.
This demo now lives in thereact-d3-tree
repo's/demo
directory.
- Clone the
react-d3-tree
library to your local machine:git clone https://github.com/bkrem/react-d3-tree.git
- Run
yarn
ornpm install
- Run
yarn/npm link
- Clone this repo:
git clone https://github.com/bkrem/react-d3-tree-demo.git
cd react-d3-tree-demo
- Run
yarn
ornpm install
- Run
yarn/npm link react-d3-tree
- You should see a confirmation that
node_modules/react-d3-tree
has been symlinked to your local copy.
- Set up 2 terminal windows, one in the
react-d3-tree-demo
directory, the other inreact-d3-tree
. - To continously build the library, use
yarn build:watch
in thereact-d3-tree
directory. - To automatically re-build the demo in response changes in
react-d3-tree
, useyarn dev
in thereact-d3-tree-demo
directory. - Any changes made to the demo app or the library should now automatically rebuild the library and reload the app with the fresh build (via
nodemon
).