DEV Community 👩‍💻👨‍💻

Discussion on: How to Locomotive Scroll and Nuxt (with example and gotchas)

didomarchet profile image
Davide Marchet Author • Edited on

Locomotive Scroll is already injected into the plugin.
You can initialize Locomotive Scroll instances
where you want as many times as you want using:
const myLocomotive = new this.LocomotiveScroll({ el, ...options }) where el is your DOM element and options the instance options.
Is this what you were asking!?