[Vuejs]-Errors while using Vue CLI 4 and A Frame

1👍

The answer is that these components in snake case collide with Vue. Vue can’t find those components registered, so you get the error that you do.

The short of it: tell Vue to ignoreElements associated with a frame:

Vue.config.ignoredElements = [
  'a-scene',
  'a-entity',
  'a-camera',
  'a-box',
  'a-sky',
  'a-sphere',
  'a-cylinder',
  'a-plane'
];

The above list isn’t comprehensive, but is a starting point. You can add more to it or subtract from it as you please.

Leave a comment