Skip to content

Unexpected token import #219

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

Closed
GaoQ1 opened this issue Nov 2, 2016 · 4 comments
Closed

Unexpected token import #219

GaoQ1 opened this issue Nov 2, 2016 · 4 comments

Comments

@GaoQ1
Copy link

GaoQ1 commented Nov 2, 2016

很费解,有了vue-cli初始化了一个项目,npm run dev后报"Unexpected token import"的错误。npm run build报Unexpected token: name(Vue).求解

@zigomir
Copy link
Contributor

zigomir commented Nov 2, 2016

@GaoQ1 which template are you using?

@GaoQ1
Copy link
Author

GaoQ1 commented Nov 3, 2016

@zigomir I use webpack template.

@zigomir
Copy link
Contributor

zigomir commented Nov 3, 2016

Please report your issue there. Also, more info (more stack/error trace, what you've tried, what's your .babelrc, what node and npm version do you use, ...) it can help others help you ;)

@zigomir zigomir closed this as completed Nov 3, 2016
@yehuajin
Copy link

这个问题怎么解决的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants