felixdenoix / nuxt-lenis

Nuxt adaptation for @StudioFreights/Lenis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>
    

About

Nuxt adaptation for @StudioFreights/Lenis


Languages

Language:Vue 74.8%Language:TypeScript 19.4%Language:JavaScript 5.8%