Open
Conversation
|
|
|
现在版本没有这个属性? |
Author
没有,现在 @vuejs 官方 runtime-core 包过度过的开发很难受 |
确实,之前volar版本还支持,换成official这个就失效了。我还以为是我配置有什么问题呢 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
目前
vue官方 和volar插件具体进度冲突,我们不能急于抛弃@vue/runtime-core运行时。Linked Issues
#389
#406
#477
Additional context
目前好像只有这个办法是比较直接能解决问题的,不影响已经抛弃
@vue/runtime-core的用户,只需要启用运行时选项runtime,它会在vue命名空间基础上再生成一遍@vue/runtime-core命名空间,能让类型提示正常。