-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
To solve the issue ElemeFE#21632 #21633
Conversation
您好,本次申请提交,解决了devTools组件跳转对应源代码的问题 ElemeFE # 21632 本次提交不涉及组件更改,仅仅是对维护组件库开发者开发体验的完善 解决方法是通过在webpack-dev-server启动options参数中配置before方法,将开源的 launch-editor-middleware 中间件引入并使用,此插件是vue作者编写 "launch-editor-middleware中间件仅提供通过指定访问请求路径,+ 配置的对应编辑器的命令行启动指令,实现打开对应编辑器的源代码, 具体cmd命令参考 launch-editor-middleware 经测试,该中间件只能跳转到已启动此项目的编辑器中,并可以跳转到正确的组件目录 具体操作如下 |
由于该pr代码冲突,已在另外的pr处理 |
@heart-to-the-sea 你好,我是element-ui官方维护团队的xinguanhua,非常感谢你以pr的方式,为element-ui组件库的完善贡献了一份力量。element-ui有一份礼物将会寄给你,希望能够提供寄件地址及联系方式,可以发送邮件到 xinguanhua@gmail.com。 |
@xinguanhua 已经通过我的x1911898144@163.com邮箱发送过去了 |
Please make sure these boxes are checked before submitting your PR, thank you!
dev
branch.