How to use Babylon.js with vuejs

The manager asked me to import babylonjs into vuejs project. I am not very good at it. Can you help me?

1 Like

you can use this

npm install babylonjs --save

hey, jas0n, have you tried working with vue-babylonjs using nuxt? I managed to get the basic box scene working by adding the plugin with code

import Vue from ‘vue’;
import vb from ‘vue-babylonjs’;

Vue.use(vb)

into my project but when I try to use the 3d-logo scene with $vectors
I get: _vm.$vector is not a function

What do I need to do to make it work?

Anyway, great job on the package if it’s really you!

Hey brother, did you make any progress on this?

1 Like