Fritz Lin
Fritz Lin
@makslevental @intijk were you guys having troubles? Seems like we have something to do with the later versions of three.js: https://github.com/mrdoob/three.js/wiki/Migration-Guide
@intijk @makslevental @shongololo Just published version 0.2.0-alpha.1 Had completely migrated to vue-cli-3 structure and released umd version along with commonjs version Here's some simple online demos (in umd mode): Three.js...
@saumyasinghal747 hi, here are some approaches: 1. like https://github.com/fritx/vue-threejs/blob/dev/src/components/Light.vue#L17 ```js import * as THREE from 'three' import { Object3D } from 'vue-threejs' export default { name: 'LineOrWhatever', mixins: [Object3D], props:...
@saumyasinghal747 sorry for the very, very late response T_T
@ryanrca oh yes, didn't adapt it to nuxt.js yet maybe try to wrap the `` in a `` or sth else?
@sylwesterdigital hi, this is Vue-level stuffs.. If being referenced, `mesh`, `fn` should be defined in their Vue instances like ```vue export default { data () { return { mesh: new...
https://github.com/fritx/vue-threejs/blob/dev/examples/main.js#L6-L9 @rafinskipg sorry for the outdated documentation. After upgrated to vue-cli-3, aka 0.2.0-alpha, it should be changed to ```js import * as VueThreejs from 'vue-threejs' Vue.use(VueThreejs) ```
@passerbyo is there any problem now or any error/warning messages?
@alphaCastor > How can I add additional lights? You can pass `:obj` prop into components to override like ```vue ``` > can i somehow get current scene? Also, `:obj.sync`, `@update:obj`...
@sylwesterdigital thanks for reporting this. The problem (outdated version of qs) is only for development of this repo, and a commit was pushed so it is gone.