vue-panorama icon indicating copy to clipboard operation
vue-panorama copied to clipboard

unknown custom element: <Panorama>

Open counterbeing opened this issue 6 years ago • 0 comments

Currently on Vue 2.6.10, and for some reason keep getting this error:

vue.esm.js?a026:628 [Vue warn]: Unknown custom element: <Panorama> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <Media> at src/components/micro/Media.vue
       <Inspector> at src/components/Inspector.vue
         <Blog> at src/components/Blog.vue
           <App> at src/App.vue
             <Root>

Here's the component where I've included panorama:

<template>
  <div id="">
    <Panorama
      source="https://s3.amazonaws.com/road-trip-blog/4317faa5-87ee-3fb5-a6b7-1bf390c5d1e3-w2100.jpeg"
      caption="Awesome Panorama"
    />

  </div>
</template>
<script>
import { Panorama } from 'vuejs-panorama'

export default {
  components: { Panorama },
  name: 'Media',
  props: ['media', 'imageWidth']
}
</script>

counterbeing avatar Oct 28 '19 01:10 counterbeing