From c6e0ff783faf1683e6051ea1e61e0445016e573e Mon Sep 17 00:00:00 2001 From: wzy-warehouse <18135009705@163.com> Date: Mon, 13 Apr 2026 10:41:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4bfc09e..5c728b5 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,11 @@ - Vue (Official) - ESLint - Prettier - Code formatter -3. 配置vscode的eslint和prettier +3. 配置vscode的eslint和prettier
3.1 设置代码自动格式化: - 打开vscode右下角设置(快捷键Ctrl + ,) - 搜索formatOnSave -- 设置为选中状态 +- 设置为选中状态
3.2 启用保存时自动格式化 - 使用快捷键 Ctrl + Shift + P 打开命令面板 - 输入 Preferences: Open Settings (JSON) 并回车