Jump to content
Search Community

hectorleon

Members
  • Posts

    4
  • Joined

  • Last visited

About hectorleon

  • Birthday 10/06/1987

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

hectorleon's Achievements

1

Reputation

  1. I'm back from holidays ! keep working on it, hope in 2 weeks the rework would be ready . thanks, i'll let you know
  2. Thanks for all the help, i finally recreate the issue. But have to be a repo, just have to clone it ( the branch lab-without-react/ no master) and run in your terminal: https://github.com/HectorLS/tibicenas-framework/blob/lab-without-react/ $ yarn install $ npm run dev a tab will auto-open in your browser. Just click in the burger icon to display the modal.
  3. Hi again, yes i used to play with gsap free in Codepen and i finally got a license at my company So now i want to include it in my webpacker Rails + Webpacker for bundle. The Point. Makes more sense for me then to put the gsap folder into my build system ( never in node_modules, because i used to remove his content to run yarn install again in case some package miss a dependency ) If i use NPM gsap free packages import 'gsap/TweenLite'; //OK import import 'gsap/CSSPlugin'; //OK import import 'gsap/ScrollToPlugin'; //OK import But if i store gsap folder in my source folder import '../js/gsap/uncompressed/TweenLite'; //OK import import '../js/gsap/uncompressed/plugins/CSSPlugin'; // retun an error import '../js/gsap/uncompressed/plugins/ScrollToPlugin'; // retun an error Failed to compile. Module not found: Error can't resolve 'TweenLite' All the files into the plugin folder return me an error. Same if i try this import TweenLite from '../js/gsap/uncompressed/TweenLite'; //OK import import '../js/gsap/uncompressed/plugins/CSSPlugin'; // retun an error import '../js/gsap/uncompressed/plugins/ScrollToPlugin'; // retun an error At the begining i thought was a webpacker issue, but now seems to me to be the files. The main differences is that in the first case i didn't use the files stored into the plugins folder. But in the second i don't have those files. Any solution here would be much appreciated
  4. Hello, Maybe its a silly question but i was wondering the best way to get gsap into our project. Because i have paid the license, now i have a src/ folder with all the files. Before that i was using nicely the npm/yarn package for the gsap free version. But now i have to use the local ones ? This doesn't look the best too keep my gsap plugins updated. Am i suppose to check the web for new versions ? Or there is a way to load this "paid" plugins into my project as a npm package. Thanks in advance.
×
×
  • Create New...