-
Notifications
You must be signed in to change notification settings - Fork 429
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
error: Expected "class" but found "const" in Vite2 #503
Comments
I also encountered this problem. |
I don't understand what you've shared. The |
shared code is only script part in App.vue, others is same as new vite project( 1.yarn create |
I found same issue in vite here: |
This is more like Vite transpile issue. |
I tried switch vite version to 1.0rc, it's fine, but error on 2.0
And if no "@options", it's fine too, but how can i include components
package.json
App.vue
The text was updated successfully, but these errors were encountered: