Replies: 1 comment
-
Have you tried to register it globally? import { createApp } from 'vue'
import { Form } from 'vee-validate';
const app = createApp({})
app.component('VForm', Form) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How do I wrap
Form
so that I can use it everywhere without constantly renaming it asForm: VForm
?When I do this, it doesnt seem to work, id rather include
base-form
in my code and extract v-validate into its own componentBaseForm.vue
Beta Was this translation helpful? Give feedback.
All reactions