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

chore: 添加 vetur 对组件的智能提示 #83

Merged
merged 1 commit into from
Nov 20, 2020

Conversation

JE-lee
Copy link

@JE-lee JE-lee commented Nov 17, 2020

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow Element's contributing guide (中文 | English | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

使用 element-ui 的时候,vscode 的 vetur 插件是可以对组件的属性做提示和补全的
image

而使用 @femessage/element-ui 的时候,这种智能提示没有了,发现原来是没有生成 vetur 的提示文件。

参考:
vetur doc

这两份提示文件 attributes.json 和 tags.json 来源于 element 官方 https://github.com/ElementUI/element-helper-json
暂不清楚 vetur 字段是否支持远程 url 文件,故直接本地引入。

@netlify
Copy link

netlify bot commented Nov 17, 2020

Deploy preview for femessage-element ready!

Built with commit 3bae719

https://deploy-preview-83--femessage-element.netlify.app

@levy9527 levy9527 changed the title feature: 添加 vetur 对组件的智能提示 chore: 添加 vetur 对组件的智能提示 Nov 20, 2020
@auto-add-label auto-add-label bot added chore and removed feature labels Nov 20, 2020
@levy9527 levy9527 merged commit ea628b6 into FEMessage:dev Nov 20, 2020
@JE-lee JE-lee deleted the feature/vetur-helper branch January 19, 2021 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants