Run yarn install
to get set up. perfect-arrows
uses https://github.com/formium/tsdx to manage the development experience, so consult the README over there for more details.
This project is very visual, so it's handy to run the code in a visual test harness to play with it as changes are made. The example React app in example
is perfect for this!
To set it up run:
yarn install
in the root folder of this repoyarn link
in the root folder to make the development version of this project available to the example (and other) projectsyarn start
in the root folder of this repo to start building TypeScript as changes are made
And then in the example
folder, run:
yarn install
to get the dependencies for the example appyarn link perfect-arrows
to link your development code to theexample
projectyarn start
to start thecreate-react-app
built in server
And then start making changes! The yarn start
running in the root should rebuild TypeScript files as they change, which the yarn start
running in the example should notice and hot-reload into your browser.