4👍
I see 1-2 problems here.
- You registered
GISView
toApp.vue
locally, meaning you can only use<gisview>
insideApp.vue
‘s template. You can registerGISView
globally, like so, but i doubt you would want that.
Vue.component(GISView)
- Is your second code example supposed to be
GISView.vue
? If it is, you’re trying to use<gisview>
within itself. Recursive components are a thing, but i don’t think that’s what you’re going for here.
Source:stackexchange.com