From f26b3eddb2cbb7493f663cf1c8cb23654562e431 Mon Sep 17 00:00:00 2001 From: Donny Wang <53386850+coderwyd@users.noreply.github.com> Date: Tue, 6 Aug 2024 17:51:39 +0800 Subject: [PATCH] docs: remove invalid spaces (#4057) --- README.md | 1 - README.zh-CN.md | 1 - docs/src/guide/essentials/build.md | 8 -------- docs/src/guide/essentials/development.md | 3 +-- docs/src/guide/essentials/server.md | 1 - docs/src/guide/introduction/quick-start.md | 2 -- docs/src/guide/introduction/vben.md | 2 +- docs/src/guide/other/faq.md | 1 - docs/src/guide/project/changeset.md | 4 ---- docs/src/guide/project/cli.md | 8 -------- 10 files changed, 2 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 9824d8ce..c0161082 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,6 @@ cd vue-vben-admin corepack enable pnpm install - ``` - run diff --git a/README.zh-CN.md b/README.zh-CN.md index da539888..17818240 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -61,7 +61,6 @@ cd vue-vben-admin corepack enable pnpm install - ``` - 运行 diff --git a/docs/src/guide/essentials/build.md b/docs/src/guide/essentials/build.md index 8046b4aa..3acde53f 100644 --- a/docs/src/guide/essentials/build.md +++ b/docs/src/guide/essentials/build.md @@ -38,19 +38,16 @@ pnpm preview ```bash npm i -g live-server - ``` 然后在 `dist` 目录下执行 `live-server` 命令,即可在本地查看效果。 ```bash - cd apps/web-antd/dist # 本地预览,默认端口8080 live-server # 指定端口 live-server --port 9000 - ``` ## 压缩 @@ -61,7 +58,6 @@ live-server --port 9000 ```bash VITE_COMPRESS=gzip - ``` ### 开启 `brotli` 压缩 @@ -70,7 +66,6 @@ VITE_COMPRESS=gzip ```bash VITE_COMPRESS=brotli - ``` ### 同时开启 `gzip` 和 `brotli` 压缩 @@ -79,7 +74,6 @@ VITE_COMPRESS=brotli ```bash VITE_COMPRESS=gzip,brotli - ``` ::: tip 提示 @@ -173,7 +167,6 @@ VITE_BASE=/xxx/ ```bash VITE_ROUTER_HISTORY=hash - ``` ### history 路由模式下服务端配置 @@ -215,7 +208,6 @@ server { try_files $uri $uri/ /sub/index.html; } } - ``` ## 跨域处理 diff --git a/docs/src/guide/essentials/development.md b/docs/src/guide/essentials/development.md index 54e2653e..8fb82a19 100644 --- a/docs/src/guide/essentials/development.md +++ b/docs/src/guide/essentials/development.md @@ -76,7 +76,7 @@ npm 脚本是项目常见的配置,用于执行一些常见的任务,比如 "dev:antd": "pnpm -F @vben/web-antd run dev", // 启动文档 "dev:docs": "pnpm -F @vben/docs run dev", - // 启动 element plus应用 + // 启动web-ele应用 "dev:ele": "pnpm -F @vben/web-ele run dev", // 启动web-naive应用 "dev:naive": "pnpm -F @vben/web-naive run dev", @@ -120,7 +120,6 @@ pnpm dev ```bash pnpm dev:antd - ``` 运行 `web-naive` 应用: diff --git a/docs/src/guide/essentials/server.md b/docs/src/guide/essentials/server.md index aeda0acb..ab764f9c 100644 --- a/docs/src/guide/essentials/server.md +++ b/docs/src/guide/essentials/server.md @@ -269,5 +269,4 @@ mock的本质是一个真实的后端服务,如果不需要 mock 服务,可 ```bash # .env.development VITE_NITRO_MOCK=false - ``` diff --git a/docs/src/guide/introduction/quick-start.md b/docs/src/guide/introduction/quick-start.md index af39cc24..47e86160 100644 --- a/docs/src/guide/introduction/quick-start.md +++ b/docs/src/guide/introduction/quick-start.md @@ -62,7 +62,6 @@ corepack enable # 安装依赖 pnpm install - ``` ::: tip 注意 @@ -78,7 +77,6 @@ pnpm install ```bash # 启动项目 pnpm dev - ``` 现在,你可以在浏览器访问 `http://localhost:5555` 查看项目。 diff --git a/docs/src/guide/introduction/vben.md b/docs/src/guide/introduction/vben.md index f9d14286..d6ffd65c 100644 --- a/docs/src/guide/introduction/vben.md +++ b/docs/src/guide/introduction/vben.md @@ -20,7 +20,7 @@ - **动态菜单**:支持动态菜单,可以根据权限配置显示菜单。 - **Mock 数据**:基于 Nitro 的本地高性能 Mock 数据方案。 - **组件丰富**:提供了丰富的组件,可以满足大部分的业务需求。 -- **规范**:代码规范,使用 `ESLint`、`Prettier`、`Stylelint`、`Publint`、`cspell` 等工具保证代码质量。 +- **规范**:代码规范,使用 `ESLint`、`Prettier`、`Stylelint`、`Publint`、`CSpell` 等工具保证代码质量。 - **工程化**:使用 `Pnpm Monorepo`、`TurboRepo`、`Changeset` 等工具,提高开发效率。 - **多UI库支持**:支持 `Ant Design Vue`、`Element Plus`、`Vuetify` 等主流 UI 库,不再限制于特定框架。 diff --git a/docs/src/guide/other/faq.md b/docs/src/guide/other/faq.md index e3bc4722..8c565538 100644 --- a/docs/src/guide/other/faq.md +++ b/docs/src/guide/other/faq.md @@ -131,7 +131,6 @@ registry = https://registry.npmmirror.com/ TypeError: str.matchAll is not a function at Object.extractor (vue-vben-admin-main\node_modules@purge-icons\core\dist\index.js:146:27) at Extract (vue-vben-admin-main\node_modules@purge-icons\core\dist\index.js:173:54) - ``` ## nginx 部署 diff --git a/docs/src/guide/project/changeset.md b/docs/src/guide/project/changeset.md index 9b89858a..cc206ae9 100644 --- a/docs/src/guide/project/changeset.md +++ b/docs/src/guide/project/changeset.md @@ -11,15 +11,11 @@ changeset 命令在项目中已经内置: ### 交互式填写变更集 ```bash - pnpm run changeset - ``` ### 统一提升版本号 ```bash - pnpm run version - ``` diff --git a/docs/src/guide/project/cli.md b/docs/src/guide/project/cli.md index b2de3bfb..044e2b40 100644 --- a/docs/src/guide/project/cli.md +++ b/docs/src/guide/project/cli.md @@ -14,7 +14,6 @@ outline: deep ```bash pnpm vsh [command] [options] - ``` ### vsh check-circular @@ -25,7 +24,6 @@ pnpm vsh [command] [options] ```bash pnpm vsh check-circular - ``` #### 选项 @@ -42,7 +40,6 @@ pnpm vsh check-circular ```bash pnpm vsh check-dep - ``` ### vsh clean @@ -53,7 +50,6 @@ pnpm vsh check-dep ```bash pnpm vsh clean - ``` #### 选项 @@ -71,7 +67,6 @@ pnpm vsh clean ```bash pnpm vsh lint - ``` #### 选项 @@ -88,7 +83,6 @@ pnpm vsh lint ```bash pnpm vsh publint - ``` #### 选项 @@ -105,7 +99,6 @@ pnpm vsh publint ```bash pnpm vsh code-workspace - ``` #### 选项 @@ -123,7 +116,6 @@ pnpm vsh code-workspace ```bash pnpm turbo-run [command] - ``` ### turbo-run dev