【问题标题】:How to make the "Open in editor" functionality to work in VueDevtools如何使“在编辑器中打开”功能在 Vue Devtools 中工作
【发布时间】:2021-08-18 19:59:51
【问题描述】:

我想在 VueDevtools 中使用“在编辑器中打开”功能,但我的终端总是出错:

Could not open MakeUpStudio.vue in the editor.
The editor process exited with an error: (code 1).

To specify an editor, specify the EDITOR env variable or add "editor" field to your Vue project config.

所以我关注了this documentation,但它并没有改变任何东西。我能做什么?

【问题讨论】:

标签: vue.js vue-devtools


【解决方案1】:

我在GitHub comment 之后找到了解决方案。当我使用 Vue.js v2 时,我需要使用 setup 钩子而不是 before 钩子。

【讨论】:

    猜你喜欢
    • 2023-01-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-03-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多