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.
All of our examples can be used in the html page. To use them first find an example you want to use from interactive examples.
Click 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.
Any of our Examples can be used as a seed project. All examples on that page have been made to standalone repositories which can be found on our GitHub.
Copyright © KateChanResearch (Shanghai) Co., Ltd. All rights reserved. Shanghai ICP13034974号-1. Public Security Code: 31011502007232.