From: btea <2356281422@qq.com>
Date: Thu, 16 Oct 2025 01:05:43 +0000 (+0800)
Subject: chore: `format` script add `experimental-cli` option (#837)
X-Git-Tag: v3.18.2~7
X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec5b45cf3e684ed6ccf378cafa221e2b8b5cdb14;p=thirdparty%2Fvuejs%2Fcreate-vue.git
chore: `format` script add `experimental-cli` option (#837)
---
diff --git a/package.json b/package.json
index fe564442..239775a7 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 fe48afc2..68a970a5 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 fe48afc2..68a970a5 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 6092dff1..8b731d91 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 6092dff1..8b731d91 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