Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 945 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 945 Bytes

Britecharts React Test Project

We want to have a small example project showing the different ways Britecharts-React can be added to our user's project.

Goals

This project will serve us in two ways:

  • It will demonstrate different installation ways for our users
  • It will help us test that those different bundling targets are working properly

Approach

This is a simple Create-react-app with a donut component loaded in different ways, showing how to bring in Britecharts-react through the different methods:

Using NPM

  • with the whole bundle importing as ES205
  • with the whole bundle importing as CommonJS
  • with individual esm modules from lib
  • with individual umd files from lib
  • with individual commonjs files from lib

Installation

Follow these steps:

  1. Clone the repo
  2. Install dependencies with yarn
  3. Run demo with yarn start
  4. Navigate to localhost:3000