V
V
Vladislav2020-09-30 14:57:58
Vue.js
Vladislav, 2020-09-30 14:57:58

When connecting, vuelidate gives an error, how to fix it?

Good afternoon.

I installed vuelidate via npm, I include it in main.js

import Vue from 'vue'
import Vuelidate from 'vuelidate'
import App from './App.vue'

Vue.use(Vuelidate)

new Vue({
    render: h => h(App),
}).$mount('#app')


Gives an error Uncaught TypeError: Cannot read property 'use' of undefined
5f74728438019697646753.jpeg

How to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirolga, 2020-10-01
@Vladddosss

Without more information, it's hard to say what exactly is wrong.
Attach your webpack config (if used) and package.json to the question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question