Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: use runtime functional options#798

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
waset wants to merge1 commit intounplugin:main
base:main
Choose a base branch
Loading
fromwaset:main

Conversation

waset
Copy link

@wasetwaset commentedSep 3, 2024
edited
Loading

Description

目前vue 官方 和volar 插件具体进度冲突,我们不能急于抛弃@vue/runtime-core 运行时。

因急于使用,目前已上传至npmjs@waset/unplugin-vue-components,如过对本库造成影响可以联系我,我会进行删除

Linked Issues

#389
#406
#477

Additional context

目前好像只有这个办法是比较直接能解决问题的,不影响已经抛弃@vue/runtime-core 的用户,只需要启用运行时选项runtime,它会在vue命名空间基础上再生成一遍@vue/runtime-core命名空间,能让类型提示正常。

// vite.config.tsimportComponentsfrom'unplugin-vue-components/vite'exportdefaultdefineConfig({plugins:[Components({/* options */runtime:true,}),],})

Kanade-Lu reacted with thumbs up emoji
@wasetwaset requested a review fromantfu as acode ownerSeptember 3, 2024 08:59
@bolt-new-by-stackblitzBolt.new (by StackBlitz)
Copy link

Review PR in StackBlitz CodeflowRun & review this pull request inStackBlitz Codeflow.

@chenchenpp
Copy link

现在版本没有这个属性?

@waset
Copy link
Author

现在版本没有这个属性?

没有,现在@vuejs 官方 runtime-core 包过度过的开发很难受

@chenchenpp
Copy link

现在版本没有这个属性?

没有,现在@vuejs 官方 runtime-core 包过度过的开发很难受

确实,之前volar版本还支持,换成official这个就失效了。我还以为是我配置有什么问题呢

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@antfuantfuAwaiting requested review from antfuantfu is a code owner

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@waset@chenchenpp

[8]ページ先頭

©2009-2025 Movatter.jp