-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
When you have globally defined components, for example in your main.js:
import Vue from 'vue';
import { ValidationObserver } from 'vee-validate';
Vue.component('ValidationObserver', ValidationObserver);
And you use one of these in combination with an auto-loaded component from the plugin in the same component:
<template>
<ValidationObserver>
<FiltersForm>
<!-- ... -->
</FiltersForm>
</ValidationObserver>
</template>
Vue warns about custom element ValidationObserver
not being available. Removing FiltersForm
or disabling the plugin and specifying the components explicitly works.
If I check vm.$options.component
of the component above, I only get FiltersForm
. It’s like something override globally defined component, or prevent them from being found when parsing the template.
Metadata
Metadata
Assignees
Labels
No labels