Developing
Running the reaviz project locally is straightforward and simple. Hereβs a step-by-step guide to help you get started:
Local Setup
The project uses Storybook for its demos and development environment. Follow these steps to set up and run the project on your local machine:
Clone the Repository
Install Dependencies
Navigate to the project directory and install the necessary dependencies:
npm installStart the Development Server
npm startOnce started the browser will open to the storybook url. From here you can tweak the charts and see them build and reload in real time.
Building for Distribution
When youβre ready to package the project for distribution, we use Rollup to bundle the code. Hereβs how to do it: Run the build script to create the distribution files:
npm buildThis command will generate a dist folder containing the type definitions, bundled JavaScript, and CSS files.
With these steps, you can easily set up, develop, and build the reaviz project locally. Happy coding!