Skip to content

yuda-lyu/w-threejs-vue

Repository files navigation

w-threejs-vue

A vue component for three.js.

language language npm version license npm download npm download jsdelivr download

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 and wsemi.

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 and wsemi, 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>

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published