mirror of
https://github.com/greensock/gsap-skills
synced 2026-09-22 23:34:24 +08:00
Version update
- Updates the version in all the packgage.json files in the examples folder to 3.15.0
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
"postinstall": "nuxt prepare"
|
||||
},
|
||||
"dependencies": {
|
||||
"gsap": "^3.14.2",
|
||||
"gsap": "^3.15.0",
|
||||
"nuxt": "^4.4.2",
|
||||
"vue": "^3.5.30",
|
||||
"vue-router": "^5.0.4"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@gsap/react": "^2.1.2",
|
||||
"gsap": "^3.14.2",
|
||||
"gsap": "^3.15.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1"
|
||||
},
|
||||
@@ -18,4 +18,4 @@
|
||||
"@vitejs/plugin-react": "^4.3.3",
|
||||
"vite": "^5.4.10"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,8 +2,8 @@
|
||||
* Minimal GSAP vanilla example — follows skills: transforms, autoAlpha, timeline, ScrollTrigger.
|
||||
* Run from repo root: npx serve examples/vanilla (or open index.html with a local server that supports ES modules).
|
||||
*/
|
||||
import { gsap } from "https://cdn.jsdelivr.net/npm/gsap@3.14.2/index.js";
|
||||
import { ScrollTrigger } from "https://cdn.jsdelivr.net/npm/gsap@3.14.2/ScrollTrigger.js";
|
||||
import { gsap } from "https://cdn.jsdelivr.net/npm/gsap@3.15.0/index.js";
|
||||
import { ScrollTrigger } from "https://cdn.jsdelivr.net/npm/gsap@3.15.0/ScrollTrigger.js";
|
||||
|
||||
gsap.registerPlugin(ScrollTrigger);
|
||||
|
||||
@@ -31,6 +31,6 @@ const tl2 = gsap.timeline({
|
||||
}
|
||||
});
|
||||
tl2.to(".panel", { x: 100 })
|
||||
.to(".panel", { rotation: 5, duration: 0.7 });
|
||||
.to(".panel", { rotation: 5, duration: 0.7 });
|
||||
|
||||
// After dynamic layout changes you would call: ScrollTrigger.refresh();
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"gsap": "^3.14.2",
|
||||
"gsap": "^3.15.0",
|
||||
"vue": "^3.5.32"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user