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

vscode 代码提示有解决方案吗 #7

Open
MaybeQHL opened this issue Jun 14, 2023 · 7 comments
Open

vscode 代码提示有解决方案吗 #7

MaybeQHL opened this issue Jun 14, 2023 · 7 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@MaybeQHL
Copy link

@markthree
Copy link
Member

@MaybeQHL 靓仔你好,具体是什么提示呢?

@markthree markthree self-assigned this Jun 14, 2023
@markthree markthree added the question Further information is requested label Jun 14, 2023
@MaybeQHL
Copy link
Author

{ meta: { layout: 'other' } }

这里面的内容代码提示和高亮。

@MaybeQHL
Copy link
Author

感觉不太好搞

@markthree
Copy link
Member

{ meta: { layout: 'other' } }

这里面的内容代码提示和高亮。

这个主要跟 volar 有关,我暂时对此还没有研究。

@markthree markthree added enhancement New feature or request help wanted Extra attention is needed and removed question Further information is requested labels Jun 14, 2023
@MaybeQHL
Copy link
Author

好的,辛苦了。

@kingyue737
Copy link

加上lang="json"就能有高亮:

<route lang="json">
{ meta: { layout: 'other' } }
</route>

自动补全与类型校验:
https://github.com/kingyue737/volar-plugin-vue-router

@markthree
Copy link
Member

加上lang="json"就能有高亮:

<route lang="json">
{ meta: { layout: 'other' } }
</route>

自动补全与类型校验: https://github.com/kingyue737/volar-plugin-vue-router

nice! 我将尝试并在 readme 中加以说明

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants