jscastro76 / threebox

A Three.js plugin for Mapbox GL JS, with support for animations and advanced 3D rendering.
Other
563 stars 149 forks source link

Vue.js example #172

Closed ahoedholt closed 3 years ago

ahoedholt commented 3 years ago

Does anyone have a simple example of Threebox used in a Vue.js project?

Thank you!

jscastro76 commented 3 years ago

I think @luojiandan was working on Vue.js

jscastro76 commented 3 years ago

@ahoedholt is there any repo you are working with vue.js and you found any issue?

ahoedholt commented 3 years ago

@jscastro76 I don't have a public repo for the project at the moment, I'm first of all just trying to make one of the simple examples work. I just found the following, but I haven't been able to transfer it to my project yet (and it may also be based on the older Threebox library): https://github.com/peterpolman/hidden-layers/blob/develop/src/components/BaseMap.ts

I'll work on it some more and post an example if successful. If anyone has other Vue.js+Threebox implementations, feel free to share :)

jscastro76 commented 3 years ago

Let me know once you have an issue, I haven’t worked yet in vue.js but if you setup any working example I could help you if you have any issue

ahoedholt commented 3 years ago

Thank you, @jscastro76! I will post a setup once I'm a bit further. But first of all, when installing the library through npm, would there be any issue importing it with npm import, e.g. import Threebox from 'threebox-plugin'; ? I'm asking since you specifically point out at npmjs.com that it should be imported through a Githubissues.

  • Githubissues is a development platform for aggregating issues.