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

[Feature]: plugin-vue/vue2 添加 launch-editor-middleware #1376

Closed
claneo opened this issue Jan 20, 2024 · 1 comment · Fixed by #1381
Closed

[Feature]: plugin-vue/vue2 添加 launch-editor-middleware #1376

claneo opened this issue Jan 20, 2024 · 1 comment · Fixed by #1381
Assignees

Comments

@claneo
Copy link

claneo commented Jan 20, 2024

What problem does this feature solve?

用于在 vue devtool 中快速打开文件

What does the proposed API look like?

vue-cli:

https://github.com/vuejs/vue-cli/blob/f0f254e4bc81ed322eeb9f7de346e987e845068e/packages/%40vue/cli-service/lib/commands/serve.js#L243-L246

vite:

https://github.com/vitejs/vite/blob/639bbd65c0f7be6ad5d5d4fbe57bc15e778b7bea/packages/vite/src/node/server/index.ts#L788

@chenjiahan chenjiahan self-assigned this Jan 20, 2024
@chenjiahan
Copy link
Member

Thanks, we will consider integrating this middleware in core or the Vue plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants