UNDER DEVELOPMENT: Software for the development of EditionCrafter, digital critical edition publication tool
There are two apps in this repo. editioncrafter
is a React component, while editioncrafter-umd
wraps the React component into a UMD module for use on non-React pages.
For local development, you can use the Storybook component.
Setup for Storybook was kind of rushed and the process could still be made simpler.
- Clone the
edition-crafter-cli
repository if you haven't already, do the usualnpm install
, and runnpm start
to launch a server with a test document. - Back here in
editioncrafter
, runnpm run storybook
to launch Storybook. You'll see a component called EditionCrafter in the sidebar, and it should be all set to try.
By default, Storybook doesn't display the hash routing params used by react-router
. You can use the "Open canvas in new tab" button on the top right to open the component in its own tab: