Krisxtina Posted November 10, 2022 Share Posted November 10, 2022 Hello. I have warning in console, I don`t understand why and how to remove it. Could you please help me? I use "nuxt": "^2.15.7", "pixi.js": "^5.0.0", "gsap": "^3.7.1" My file.js as plugin in nuxt.config import * as PIXI from 'pixi.js' import { gsap } from 'gsap'; import { PixiPlugin } from "gsap/PixiPlugin"; import { assetsMap } from '@/static/pixi/assetsMap'; if (process.client) { gsap.registerPlugin(PixiPlugin); } PixiPlugin.registerPIXI(PIXI); 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.