Utilizing the vue-3d-model component for a 3D object viewer in cli3 has presented a challenge that needs to be addressed.
<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>