You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I was using the package succesfully with nuxt when it was 2.x.x however when I updated to the version 3.0.3 I am having trouble building it.
my plugin file looks like this
import Vue from 'vue'
import { ValidationProvider, extend, configure } from 'vee-validate'
import { required, email, min, confirmed } from 'vee-validate/dist/rules'
extend('required', required)
extend('email', email)
extend('min', min)
extend('confirmed', confirmed)
configure({
classes: {
valid: 'border-green-500', // one class
invalid: 'border-red-500' // multiple classes
}
})
// Register it globally
Vue.component('ValidationProvider', ValidationProvider)
So when I build and go to the website I am getting error Unexpected token export. While browsing internet it was mentioned to have babel and preset-env however nuxt is already using that. Any ideas?
The text was updated successfully, but these errors were encountered:
Versions
So I was using the package succesfully with nuxt when it was 2.x.x however when I updated to the version 3.0.3 I am having trouble building it.
my plugin file looks like this
So when I build and go to the website I am getting error
Unexpected token export
. While browsing internet it was mentioned to have babel and preset-env however nuxt is already using that. Any ideas?The text was updated successfully, but these errors were encountered: