For those looking to integrate ScrollSmoother with Nuxt, here's a solution that builds off some of the work by @Born05 in this thread.
CodeSandbox:
https://codesandbox.io/s/gsap-scrollsmoother-nuxt-pbhmeh?file=/layouts/default.vue
All you have to do is include the GSAPScrollSmoother and put whatever content you want inside of this.
<GSAPScrollSmoother :vars="{ smooth: 2, effects: true }">
<Nuxt />
</GSAPScrollSmoother>
You'll b
For those looking to integrate ScrollSmoother with Nuxt, here's a solution that builds off some of the work by @Born05 in this thread.
CodeSandbox:
https://codesandbox.io/s/gsap-scrollsmoother-nuxt-pbhmeh?file=/layouts/default.vue
All you have to do is include the GSAPScrollSmoother and put whatever content you want inside of this.
<GSAPScrollSmoother :vars="{ smooth: 2, effects: true }">
<Nuxt />
</GSAPScrollSmoother>
You'll b