feat(projects): support vite devtools specify the editor by launchEditor option. (#730)

This commit is contained in:
青菜白玉汤
2025-04-04 12:00:52 +08:00
committed by GitHub
parent 4e1b65b6c4
commit 29698bef69
4 changed files with 17 additions and 2 deletions

4
.env
View File

@ -54,3 +54,7 @@ VITE_AUTOMATICALLY_DETECT_UPDATE=Y
# show proxy url log in terminal
VITE_PROXY_LOG=Y
# used to control whether to launch editor
# by the way, this plugin is only available in dev mode, not in build mode
VITE_DEVTOOLS_LAUNCH_EDITOR=code