hunter74 Posted December 16, 2019 Share Posted December 16, 2019 I installed everything with npm. But how can I open the GSAP? Link to comment Share on other sites More sharing options...
OSUblake Posted December 16, 2019 Share Posted December 16, 2019 What do you mean open? GSAP isn't a software application that you open. It's JavaScript files that you include with a web/JavaScript application. If you're using a build tool like webpack or rollup, you can import gsap like this inside a JavaScript file. import { gsap } from "gsap"; If not, you can include scripts from npm inside an html page like this. <script src="node_modules/gsap/dist/gsap.js"></script> 4 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now