1.0.8 • Published 1 month ago
w-threejs-vue v1.0.8
w-threejs-vue
A vue component for three.js.
Documentation
To view documentation or get support, visit docs.
Example
To view some examples for more understanding, visit examples:
all examples: web [source code]
Installation
Using npm(ES6 module):
Note: w-threejs-vue is mainly dependent on
three
,camera-controls
,w-component-vue
andwsemi
.npm i w-threejs-vue
In a browser(UMD module):
Note: w-threejs-vue is mainly dependent on
vue
.Note: umd file includes with
lodash-es
andwsemi
, by using tree-shaking for dead-code elimination.
Necessary Add script for vue.
<script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.min.js"></script>
Necessary Add script for w-threejs-vue.
<script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.8/dist/w-threejs-vue.umd.js"></script>