[Vuejs]-Events throw error in PixiJs version 7.2.0 after following the example

0πŸ‘

βœ…

It was a vue issue.

I was creating a pixi application in the data function and then assigning it to a new pixi application with the actual config.

That it did not like. So i deleted it from the data function and just used a const and now it works!

0πŸ‘

It’s not related to Vue, but to fix it, use:

mounted() {
    this.app = markRaw(new PIXI.Application({ ... }))
}

Leave a comment