/nuxt-lenis

Nuxt adaptation for @StudioFreights/Lenis

Primary LanguageVue

Nuxt Lenis

This is a Nuxt wrapper for Lenis by Studio Freight. Thank them for the incredible tool.

Getting Started

  1. yarn add nuxt-lenis
  2. Add nuxt-lenis to your modules in nuxt.config
  3. In your app.vue file, wrap the nuxt page in the lenis component
       <lenis
          :options="LenisOptions"
          @initiated="foo"
          @scroll="fooBar"
       >
          <NuxtPage />
       </lenis>