Jump to content
Search Community

sngsap2016

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by sngsap2016

  1. Thanks for your response. 

     

    I copied all .js files from commonsjs-flat into node_modules\gsap.

     

    import { SplitText, TimelineMax, TweenLite} from 'gsap';

     

    No issues with TimelineMax and TweenLite.

     

    But SplitText throws exception as follows:

     

     

    __WEBPACK_IMPORTED_MODULE_1_gsap__.SplitText is not a constructor

     

     

    Thanks for your help.

  2. This works :

     

    npm install gsap

    and 

    npm install @types/gsap

     

    by configurig tweenlite into systemjs packaging,

     

    worked as expected  with angular 2/4

     

    The questions are

    •  how to install business green gasp package so I can use with angualr 2/4.
    • How plugins like splittext can be used along with this.

     

    Appreciate any help.

     

    Thanks

×
×
  • Create New...