First. Install from NPM and use a bundler
npm install ––save @arction/lcjs
Second. Use IIFE bundle directly on webpage
The library is distributed with a browser ready IIFE bundle. This bundle can be used directly in browsers with script tag. You can see an example implementation of this method on our GitHub.
Edit this example. On the bottom of the page click on the button that reads CJS. That will switch our code to be IIFE compatible. After that the code can be copied to the html page.
See our script tag LightningChart JS html usage example for more detailed information.