-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
vuecli3 slot-scope写法 eslint不通过 #301
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
Comments
<span slot="action" slot-scope="{x,y}">
<a href="javascript:;">Invite 一 {{ y.id }}</a>
</span> 好像这么写就不会报错,但是,下面的不认。。 |
目前有解决方案? |
@vxhly 你这么写是不对的 |
@hedanto 关注这个issue,vuejs/eslint-plugin-vue#722 官方已经在解决了,等待发布状态 暂时先把这个lint规则关掉,不影响使用 |
|
ref vuejs/vetur#1117 |
vuejs/eslint-plugin-vue已经解决,使用vscode的用户依然会有红线报错,那是vetur插件的问题,不影响打包和lint校验,耐心等待插件更新 |
vscode设置 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
eslint报错:
error: Parsing error: Unexpected token ',' (vue/no-parsing-error)
The text was updated successfully, but these errors were encountered: