import { Scene } from 'three'; export default { props: { id: String, }, setup () { const scene = new Scene(); return { scene }; }, inject: ['three'], provide() { return { scene: this.scene, }; }, mounted() { this.three.scene = this.scene; }, render() { return this.$slots.default(); }, };