Automatic Initialization
tv-scene sets up the renderer, camera, lights, axes helper and controls when it mounts, and disposes them on unmount.
Three Vue3A Vue 3 component library built on Three.js for seamless 3D web experiences.
npm install three-vue3<script setup lang="ts">
import { GLTFLoader } from 'three-vue3'
const created = async (scene, { camera }) => {
camera.position.set(0, 1.5, 2.1)
const model = await GLTFLoader('/model.glb')
scene.add(model)
}
</script>
<template>
<tv-scene @created="created" />
</template>Install the three-vue3 skill once and your coding agent writes correct Scene code — Claude Code, Codex CLI, DeepSeek Harness and more.
Set up AI AgentsBuild 3D web applications with Vue components
tv-scene sets up the renderer, camera, lights, axes helper and controls when it mounts, and disposes them on unmount.
GLTF, FBX and OBJ loaders cache models in IndexedDB, so repeated visits read from the local database.
Popup renders any Vue component in 3D space, Picker turns pointer events into hover and click, and MovableElement drags overlays.
The Animation helper plays and controls the clips of a loaded model.
Rain, Snow, HeightFog, Bloom, Water and TSL shader meshes ship as components on both WebGPU and WebGL.
Written in TypeScript with typed props, typed helper classes and generated declarations.
Install the package and drop a scene into any Vue 3 app.
npm install three-vue3