Installation
To install Locomotive Scroll, you have two options:
NPM (Recommended)
You can install it via NPM by running the following command:
npm install locomotive-scroll
This will install the latest version.
CDN
Alternatively, you can use a CDN to include Locomotive Scroll directly in your HTML:
<script src="https://cdn.jsdelivr.net/npm/locomotive-scroll/bundled/locomotive-scroll.min.js"></script>
<script>
const locomotiveScroll = new LocomotiveScroll();
</script>
Package Information
For more details and package information, you can visit the NPM package page.