Просмотр исходного кода

[doc]将各个文档中的创建命令更新为使用最新版本的 stdf,确保用户获取最新的使用方式。

dufu1991 1 год назад
Родитель
Сommit
602c1bc145
5 измененных файлов с 26 добавлено и 26 удалено
  1. 6 6
      README.md
  2. 6 6
      README_CN.md
  3. 6 6
      docs/mds/guide/quickStart.md
  4. 6 6
      docs/mds/guide/quickStart_en.md
  5. 2 2
      docs/site/src/utils/code-group-svg-data.js

+ 6 - 6
README.md

@@ -64,26 +64,26 @@ Mobile web component library based on [Svelte](https://svelte.dev) and [Tailwind
 <!-- :::code-groups -->
 <!-- :::code-groups -->
 <!-- pnpm -->
 <!-- pnpm -->
 ```sh
 ```sh
-pnpm create stdf
+pnpm create stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- npm -->
 <!-- npm -->
 ```sh
 ```sh
-npm create stdf
+npm create stdf@latest
 # or
 # or
-npm init stdf
+npm init stdf@latest
 # or
 # or
-npx create-stdf
+npx create-stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- bun -->
 <!-- bun -->
 ```sh
 ```sh
-bun create stdf
+bun create stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- yarn -->
 <!-- yarn -->
 ```sh
 ```sh
-yarn create stdf
+yarn create stdf@latest
 ```
 ```
 <!-- ::: -->
 <!-- ::: -->
 
 

+ 6 - 6
README_CN.md

@@ -66,26 +66,26 @@
 <!-- :::code-groups -->
 <!-- :::code-groups -->
 <!-- pnpm -->
 <!-- pnpm -->
 ```sh
 ```sh
-pnpm create stdf
+pnpm create stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- npm -->
 <!-- npm -->
 ```sh
 ```sh
-npm create stdf
+npm create stdf@latest
 # 或
 # 或
-npm init stdf
+npm init stdf@latest
 # 或
 # 或
-npx create-stdf
+npx create-stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- bun -->
 <!-- bun -->
 ```sh
 ```sh
-bun create stdf
+bun create stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- yarn -->
 <!-- yarn -->
 ```sh
 ```sh
-yarn create stdf
+yarn create stdf@latest
 ```
 ```
 <!-- ::: -->
 <!-- ::: -->
 
 

+ 6 - 6
docs/mds/guide/quickStart.md

@@ -6,26 +6,26 @@
 <!-- :::code-groups -->
 <!-- :::code-groups -->
 <!-- pnpm -->
 <!-- pnpm -->
 ```sh
 ```sh
-pnpm create stdf
+pnpm create stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- npm -->
 <!-- npm -->
 ```sh
 ```sh
-npm create stdf
+npm create stdf@latest
 # 或
 # 或
-npm init stdf
+npm init stdf@latest
 # 或
 # 或
-npx create-stdf
+npx create-stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- bun -->
 <!-- bun -->
 ```sh
 ```sh
-bun create stdf
+bun create stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- yarn -->
 <!-- yarn -->
 ```sh
 ```sh
-yarn create stdf
+yarn create stdf@latest
 ```
 ```
 <!-- ::: -->
 <!-- ::: -->
 
 

+ 6 - 6
docs/mds/guide/quickStart_en.md

@@ -6,26 +6,26 @@
 <!-- :::code-groups -->
 <!-- :::code-groups -->
 <!-- pnpm -->
 <!-- pnpm -->
 ```sh
 ```sh
-pnpm create stdf
+pnpm create stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- npm -->
 <!-- npm -->
 ```sh
 ```sh
-npm create stdf
+npm create stdf@latest
 # or
 # or
-npm init stdf
+npm init stdf@latest
 # or
 # or
-npx create-stdf
+npx create-stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- bun -->
 <!-- bun -->
 ```sh
 ```sh
-bun create stdf
+bun create stdf@latest
 ```
 ```
 <!-- :: -->
 <!-- :: -->
 <!-- yarn -->
 <!-- yarn -->
 ```sh
 ```sh
-yarn create stdf
+yarn create stdf@latest
 ```
 ```
 <!-- ::: -->
 <!-- ::: -->
 
 

Разница между файлами не показана из-за своего большого размера
+ 2 - 2
docs/site/src/utils/code-group-svg-data.js


Некоторые файлы не были показаны из-за большого количества измененных файлов