1

我想在 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.

所以我遵循了这个文档,但它没有改变任何东西。我能做些什么?

4

1 回答 1

0

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

于 2021-06-01T08:26:35.817 回答