Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token export #2282

Closed
vana-dev opened this issue Sep 2, 2019 · 2 comments
Closed

Unexpected token export #2282

vana-dev opened this issue Sep 2, 2019 · 2 comments
Labels
📚 docs documentation related duplicate This issue or pull request already exists

Comments

@vana-dev
Copy link

vana-dev commented Sep 2, 2019

I try to add new 3.0.3 version to my nuxtjs project, I make steps form installation guide - https://logaretm.github.io/vee-validate/ but I got en error "Unexpected token export" I think that something wrong is in required rule, If I remove

import { required } from 'vee-validate/dist/rules';

extend('required', {
  ...required,
  message: 'The {field} is required'
});

everything is ok, but validation of course did not work

@oritwoen
Copy link

oritwoen commented Sep 2, 2019

Again: #2240 (comment)

@logaretm
Copy link
Owner

logaretm commented Sep 2, 2019

Please check the nuxt example documentation as linked by ririen. I should probably add it to the docs earlier.

@logaretm logaretm closed this as completed Sep 2, 2019
@logaretm logaretm added duplicate This issue or pull request already exists 📚 docs documentation related labels Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 docs documentation related duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants