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

Modify the STDF in the document to be a development dependency

杜府 3 лет назад
Родитель
Сommit
549a1f5be4
5 измененных файлов с 10 добавлено и 20 удалено
  1. 2 4
      README.md
  2. 2 4
      README_en.md
  3. 2 4
      components/README.md
  4. 2 4
      doc/guide/quickStart.md
  5. 2 4
      doc/guide/quickStart_en.md

+ 2 - 4
README.md

@@ -42,11 +42,9 @@
 已有配置好 Svelte 与 Tailwind 的工程,直接安装。
 已有配置好 Svelte 与 Tailwind 的工程,直接安装。
 
 
 ```bash
 ```bash
-npm i stdf
+npm i stdf -D
 # or
 # or
-yarn add stdf
-# or
-pnpm i stdf
+pnpm i stdf -D
 ```
 ```
 
 
 ## 使用
 ## 使用

+ 2 - 4
README_en.md

@@ -37,11 +37,9 @@ Mobile web component library based on [Svelte](https://svelte.dev) and [Tailwind
 If you have a project configured with Svelte and Tailwind, install directly.
 If you have a project configured with Svelte and Tailwind, install directly.
 
 
 ```bash
 ```bash
-npm i stdf
+npm i stdf -D
 # or
 # or
-yarn add stdf
-# or
-pnpm i stdf
+pnpm i stdf -D
 ```
 ```
 
 
 ## Usage
 ## Usage

+ 2 - 4
components/README.md

@@ -37,11 +37,9 @@ Mobile web component library based on [Svelte](https://svelte.dev) and [Tailwind
 If you have a project configured with Svelte and Tailwind, install directly.
 If you have a project configured with Svelte and Tailwind, install directly.
 
 
 ```bash
 ```bash
-npm i stdf
+npm i stdf -D
 # or
 # or
-yarn add stdf
-# or
-pnpm i stdf
+pnpm i stdf -D
 ```
 ```
 
 
 ## Usage
 ## Usage

+ 2 - 4
doc/guide/quickStart.md

@@ -7,11 +7,9 @@
 已有配置好 Svelte 与 Tailwind 的工程,直接安装。
 已有配置好 Svelte 与 Tailwind 的工程,直接安装。
 
 
 ```bash
 ```bash
-npm i stdf
+npm i stdf -D
 # or
 # or
-yarn add stdf
-# or
-pnpm i stdf
+pnpm i stdf -D
 ```
 ```
 
 
 ### 在 Svelte 中使用
 ### 在 Svelte 中使用

+ 2 - 4
doc/guide/quickStart_en.md

@@ -7,11 +7,9 @@
 Svelte and Tailwind have been configured for direct installation.
 Svelte and Tailwind have been configured for direct installation.
 
 
 ```bash
 ```bash
-npm i stdf
+npm i stdf -D
 # or
 # or
-yarn add stdf
-# or
-pnpm i stdf
+pnpm i stdf -D
 ```
 ```
 
 
 ### Used in Svelte
 ### Used in Svelte