grosjardin Posted May 13, 2020 Share Posted May 13, 2020 I am learning PixiJS inside a VueJS component following the Pixi tutorial and I the console shows this error : Quote vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in render: "TypeError: Converting circular structure to JSON <template> <div> {{ displayPixi() }} </div> </template> <script> import * as PIXI from 'pixi.js' export default { name: 'HelloWorld', methods: { displayPixi() { return new PIXI.Application({width: 256, height: 256}) } } } </script> How do you load Pixi instances in VueJS ? Thanks for the help. Quote Link to comment Share on other sites More sharing options...
jonforum Posted May 14, 2020 Share Posted May 14, 2020 (edited) https://codesandbox.io/s/yw2vox5479?file=/src/main.js https://codesandbox.io/s/xz91np51ww Edited May 14, 2020 by jonforum ivan.popelyshev 1 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.