Demo/Debug application for react-d3-tree
- Clone this repo:
git clone https://github.com/bkrem/react-d3-tree-demo.git
cd react-d3-tree-demo
- Run
yarn
ornpm install
OR runbash ./setup.sh
and skip to Running locally
- Inside the
react-d3-tree-demo
directory, clone the library:git clone https://github.com/bkrem/react-d3-tree.git
- Run
yarn
ornpm install
- Set up 2 terminal windows, one in the
react-d3-tree-demo
directory, the other inreact-d3-tree-demo/react-d3-tree
(i.e. the sub-directory into which we cloned the library itself) - Run
yarn dev
/npm run dev
in each - 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
).