Nuxtjs and Pixijs load a JSON in to loader Pixi function

commented a year ago

Hi everyone
I'm quite new with nuxtjs and webpack and I'm facing my first big question about it.
How do I load a JSON spritesheet with loader function of Pixijs in Nuxtjs?

What I try to reach is similar to this example provided by Pixijs

What happen to me is that the spritesheet.json file added to the loader doesn't load actually and few errors are displayed.
Screen Shot 2019-01-18 at 14.42.44.png

Here you can find the final result, not in nuxtjs of course

The spritesheet animation is this one below (the dissolving grey panel)
Screen Shot 2019-01-18 at 14.45.41 3.png

Certainly I miss some basic knowledge of nuxtjs and webpack.
Anyone can help me?

Many thanks

Question โ€ข Unresolved
#c8508 - Created a year ago