Jump to content

Using Babylon with Vue


Recommended Posts

I don't think that loaders and events are supported either, but it's the only Vue lib that I know of.  I'm assuming by events that you want to know progress/loaded/error, so just wanted to point you to similar code, if it will help.  It ends up looking like this (in React not Vue?

    onModelLoaded={(modelProps, context) => {
      console.log('on model loaded:', modelProps)

that console.log looks like this, so you have access to meshes, particle systems, animations, skeletons:

You can copy whatever you need for your own vue component from here:


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...