rpurushotma Posted January 3, 2017 Share Posted January 3, 2017 Anyone know the correct way to get plugins like pixi-spine into Angular 2 or Ionic 2? import * as PIXI from 'pixi.js'; works for getting the base pixi library in. But, how do you do something like import * as PIXI from 'pixi.js' and 'pixi-spine'; Quote Link to comment Share on other sites More sharing options...
Jefferson Posted May 12, 2017 Share Posted May 12, 2017 Just started using Spine with Angular2, but faced the same problem... Pixi works fine with Angular2, but spine always returns that var raptor = new PIXI.spine.Spine(res.raptor.spineData); spine is not defined... Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 12, 2017 Share Posted May 12, 2017 Hello! Please consult this page: https://github.com/pixijs/pixi-spine/tree/master/sandbox Related issue: https://github.com/pixijs/pixi-spine/issues/167 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.