Skip to main content

Club GSAP & Vercel

Steps to install Club GSAP packages on Vercel

  1. Add a file named .npmrc to the project root with the following contents in it:


    If you are running the app in the dev environment, replace ${PRIVJS_TOKEN} with your token

  2. Install the package using the following command:

    $ npm install gsap@npm:@gsap/business

    if you are using yarn package manager then you need to run:

    $ yarn add @gsap/shockingly gsap@npm:@gsap/shockingly

    Feel free to change /business to any other Club GSAP package name of your choice.

  3. Finally you need to add the PRIVJS_TOKEN value to your environment variables in Vercel site settings:

That's it!

crossposted from PrivJS