/scrollmagic-and-nuxt

Example on how to run ScrollMagic and GSAP in a Nuxt JS application

Primary LanguageVue

ScrollMagic & Nuxt

Example on how to run ScrollMagic and GSAP in a Nuxt JS application

About

This is an example project that shows how to use ScrollMagic together with GSAP and Nuxt JS.

ScrollMagic is imported via the vue-scrollmagic plugin for Vue JS.

Build Setup

# install dependencies
$ npm run install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate