Import Packages such as vue-validator
I am having a issue importing the vue-validator. Where would I import them?
Currently I put it in the router.js as
import VueValidator from ‘vue-validator’
Gianni last edited by Gianni
I imported them directly on main.js to keep an overview off all the imports.
here is my working example of vue-resource.
import Vue from 'vue' import Quasar from 'quasar' import router from './router' import VueResource from 'vue-resource' Vue.use(Quasar) // Install Quasar Framework Vue.use(VueResource)