A vue component for three.js.
To view documentation or get support, visit docs.
To view some examples for more understanding, visit examples:
all examples: web [source code]
Note: w-threejs-vue is mainly dependent on
three
,camera-controls
,w-component-vue
andwsemi
.
npm i w-threejs-vue
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.9/dist/w-threejs-vue.umd.js"></script>