Vander Posted May 18 Share Posted May 18 Is it possible to use Premium plugins in stackblitz platform? I'm trying to recreate something to get some help from other people but i'm afraid they can get my token Link to comment Share on other sites More sharing options...
GreenSock Posted May 18 Share Posted May 18 Absolutely! Stackblitz is whitelisted in the gsap-trial package. You can use them as much as you want on that domain for free. Have fun! 1 Link to comment Share on other sites More sharing options...
Vander Posted May 18 Author Share Posted May 18 2 hours ago, GreenSock said: Absolutely! Stackblitz is whitelisted in the gsap-trial package. You can use them as much as you want on that domain for free. Have fun! Thanks! Didn't know about this Could you help me by importing SplitText? Do you see any error on my TransformAnimation.vue component? I see some errors in console but i dont know how to fix them (I need glasses maybe 😕 ) but i can't run my app (pnpm dev) https://stackblitz.com/edit/testing-astro-swup-vue?file=src%2Fcomponents%2FTransformAnimation.vue,src%2Fpages%2Findex.astro Thanks! Link to comment Share on other sites More sharing options...
GreenSock Posted May 18 Share Posted May 18 It looks like your build tool doesn't recognize ES Modules, so you can just import the UMD files from the /dist/ directory: import SplitText from 'gsap-trial/dist/SplitText'; And you can import GSAP like that too: import gsap from 'gsap-trial/dist/gsap'; Does that help? 2 Link to comment Share on other sites More sharing options...
yumyo Posted June 8 Share Posted June 8 My .npmrc is set correctly and works locally, but not when trying to install dependencies in Stackblitz Same node version and the same yarn version. But when I try to add my `@gsap/simply` package, I keep getting "Failed to fetch dependencies: @3.12.1". Link to comment Share on other sites More sharing options...
Rodrigo Posted June 8 Share Posted June 8 Hi, In Stackblitz there is no need for .npmrc files, just use the GSAP Trial package: npm install --save gsap-trial Here is an example of a React app using the ScrollSmoother Plugin without any issues: https://stackblitz.com/edit/react-iqmjfx Hopefully this helps. Happy Tweening! Link to comment Share on other sites More sharing options...
yumyo Posted June 8 Share Posted June 8 Thank you for your prompt reply @Rodrigo I understand "there is no need", but is it possible at all? Since I am working on my repository, I want to be able to use the same dependency regardless of the platform. Link to comment Share on other sites More sharing options...
yumyo Posted June 9 Share Posted June 9 Oh well, it turns out private NPM registry support in Stackblitz is an "Enterprise" plan feature ... https://stackblitz.com/membership Private NPM registry integration Link to comment Share on other sites More sharing options...
GreenSock Posted June 9 Share Posted June 9 Thanks for posting back here about what you discovered, @yumyo. Sorry about the speed bumps you encountered. I'm sure it's a bit annoying, but just using the gsap-trial package on Stackblitz is probably the easiest route and allows you to avoid getting an Enterprise Stackblitz plan. Thanks for being a Club GreenSock member! 🥳 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