w-threejs-vue
v1.0.9
Published
A vue component for three.js.
Downloads
7
Maintainers
Readme
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/[email protected]/dist/vue.min.js"></script>
[Necessary] Add script for w-threejs-vue.
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/w-threejs-vue.umd.js"></script>