🤩 If you like this project, please support us by starring our GitHub repository 🤩
Range slider may also be included as a node module using npm:
npm i toolcool-range-slider
or with Yarn:
yarn add toolcool-range-slider
And then you can include it in your application like this:
import 'toolcool-range-slider';
NPM package can fe found here.
You can also include additional plugins, for example:
import 'toolcool-range-slider/dist/plugins/tcrs-storage.min.js';
import 'toolcool-range-slider';
// any code here...
Important: the plugin script should be included BEFORE the core script.
You can find an example project of slider with Webpack 5 here.