This is how my vee-validate.js
(in plugins
folder) looks:
import Vue from 'vue'
import VeeValidate from 'vee-validate'
Vue.use(VeeValidate)
nuxt.config.js
contains the following:
plugins: ['~/plugins/vee-validate.js'],
I don't need to mention that I executed the following:
npm install vee-validate --save
However, this is the error I get when I try to execute npm run dev
:
This dependency was not found:
* nuxt_plugin_veevalidate_1a0c1998 in ./.nuxt/index.js
It's strange this doesn't work on server, but on local does. I tried to reinstall the server, install nuxt and other plugins manually as well, and many many other possible solutions.
Thanks!
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2616">#c2616</a>)</em></sub></div>