通过单击浏览器中的React组件导航到VSCODE定义
是否可以通过(右)单击浏览器中的组件来使用插件在VSCODE中导航到VSCODE中的React组件?
Is it possible e.g. using a plugin to navigate to a react component in vscode by (right-)clicking the component in the browser?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
棘手的部分是,您的浏览器读取的JS已经通过CRA构建脚本或WebPack过去的汇编,因此很难将其映射回VSCODE中的原始代码。
The tricky part is that the js your browser reads is already past compilation by either CRA build script or WebPack hence it's difficult to map it back to the raw code in vscode.