From 65d81ad41ae8de81b6678321b4b977229e634312 Mon Sep 17 00:00:00 2001
From: btea <2356281422@qq.com>
Date: Wed, 15 Oct 2025 18:00:48 +0800
Subject: [PATCH] feat: `format` script add `experimental-cli` option
---
package.json | 2 +-
template/code/default/src/components/TheWelcome.vue | 5 +++--
template/code/router/src/components/TheWelcome.vue | 5 +++--
.../code/typescript-default/src/components/TheWelcome.vue | 5 +++--
.../code/typescript-router/src/components/TheWelcome.vue | 5 +++--
5 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/package.json b/package.json
index fe5644422..239775a77 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
},
"scripts": {
"prepare": "husky",
- "format": "prettier --write .",
+ "format": "prettier --write . --experimental-cli",
"build": "rolldown -c rolldown.config.ts",
"snapshot": "zx ./scripts/snapshot.mjs",
"pretest": "pnpm run build && pnpm run snapshot",
diff --git a/template/code/default/src/components/TheWelcome.vue b/template/code/default/src/components/TheWelcome.vue
index fe48afc20..68a970a51 100644
--- a/template/code/default/src/components/TheWelcome.vue
+++ b/template/code/default/src/components/TheWelcome.vue
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
recommended IDE setup is
VSCode
+
- Vue - Official. If
- you need to test your components and web pages, check out
+ Vue - Official. If you need to test your components and web pages, check out
Vitest
and
Cypress
diff --git a/template/code/router/src/components/TheWelcome.vue b/template/code/router/src/components/TheWelcome.vue
index fe48afc20..68a970a51 100644
--- a/template/code/router/src/components/TheWelcome.vue
+++ b/template/code/router/src/components/TheWelcome.vue
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
recommended IDE setup is
VSCode
+
- Vue - Official. If
- you need to test your components and web pages, check out
+ Vue - Official. If you need to test your components and web pages, check out
Vitest
and
Cypress
diff --git a/template/code/typescript-default/src/components/TheWelcome.vue b/template/code/typescript-default/src/components/TheWelcome.vue
index 6092dff14..8b731d918 100644
--- a/template/code/typescript-default/src/components/TheWelcome.vue
+++ b/template/code/typescript-default/src/components/TheWelcome.vue
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
recommended IDE setup is
VSCode
+
- Vue - Official. If
- you need to test your components and web pages, check out
+ Vue - Official. If you need to test your components and web pages, check out
Vitest
and
Cypress
diff --git a/template/code/typescript-router/src/components/TheWelcome.vue b/template/code/typescript-router/src/components/TheWelcome.vue
index 6092dff14..8b731d918 100644
--- a/template/code/typescript-router/src/components/TheWelcome.vue
+++ b/template/code/typescript-router/src/components/TheWelcome.vue
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
recommended IDE setup is
VSCode
+
- Vue - Official. If
- you need to test your components and web pages, check out
+ Vue - Official. If you need to test your components and web pages, check out
Vitest
and
Cypress