我在 cli3 中将 vue-3d-model 组件用于 3D 对象查看器,但遇到了这个问题
<script>
// import { ModelThree } from 'vue-3d-model'
import { ModelObj } from 'vue-3d-model'
export default {
components: {
// ModelThree,
ModelObj
}
}
</script>
<template>
<div>
<h2>3D viewer</h2>
<model-obj src="../assets/models/obj/LeePerrySmith.obj"> </model-obj>
</div>
</template>
<script>
// import { ModelThree } from 'vue-3d-model'
import { ModelObj } from 'vue-3d-model'
export default {
components: {
// ModelThree,
ModelObj
}
}
</script>