Recently, I've been working on creating a VR web app using Vue cli 4.2.3 and aframe.io. However, I encountered numerous error messages related to aframe's components.
[Vue warn]: Unknown custom element: <a-scene> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
[Vue warn]: Unknown custom element: <a-cursor> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
Included below is my main.js code:
import Vue from 'vue'
import App from './App.vue'
import 'aframe';
new Vue({
el: '#app',
render: h => h(App)
})
I have provided references to the original code structure for easier understanding:
https://github.com/nobu222/aframe-vue-sample/blob/master/src/App.vue
https://github.com/nobu222/aframe-vue-sample/blob/master/src/Entity.vue
Any help or advice on resolving these issues would be greatly appreciated. Thank you in advance!