Skip to content

Commit

Permalink
docs: remove invalid spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
coderwyd committed Aug 6, 2024
1 parent 0c18912 commit 745c738
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 29 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ cd vue-vben-admin
corepack enable

pnpm install

```

- run
Expand Down
1 change: 0 additions & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ cd vue-vben-admin
corepack enable

pnpm install

```

- 运行
Expand Down
8 changes: 0 additions & 8 deletions docs/src/guide/essentials/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

```

## 压缩
Expand All @@ -61,7 +58,6 @@ live-server --port 9000

```bash
VITE_COMPRESS=gzip

```

### 开启 `brotli` 压缩
Expand All @@ -70,7 +66,6 @@ VITE_COMPRESS=gzip

```bash
VITE_COMPRESS=brotli

```

### 同时开启 `gzip``brotli` 压缩
Expand All @@ -79,7 +74,6 @@ VITE_COMPRESS=brotli

```bash
VITE_COMPRESS=gzip,brotli

```

::: tip 提示
Expand Down Expand Up @@ -173,7 +167,6 @@ VITE_BASE=/xxx/

```bash
VITE_ROUTER_HISTORY=hash
```

### history 路由模式下服务端配置
Expand Down Expand Up @@ -215,7 +208,6 @@ server {
try_files $uri $uri/ /sub/index.html;
}
}
```

## 跨域处理
Expand Down
3 changes: 1 addition & 2 deletions docs/src/guide/essentials/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -120,7 +120,6 @@ pnpm dev

```bash
pnpm dev:antd

```

运行 `web-naive` 应用:
Expand Down
1 change: 0 additions & 1 deletion docs/src/guide/essentials/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,5 +269,4 @@ mock的本质是一个真实的后端服务,如果不需要 mock 服务,可
```bash
# .env.development
VITE_NITRO_MOCK=false

```
2 changes: 0 additions & 2 deletions docs/src/guide/introduction/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ corepack enable

# 安装依赖
pnpm install

```

::: tip 注意
Expand All @@ -78,7 +77,6 @@ pnpm install
```bash
# 启动项目
pnpm dev

```

现在,你可以在浏览器访问 `http://localhost:5555` 查看项目。
2 changes: 1 addition & 1 deletion docs/src/guide/introduction/vben.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 库,不再限制于特定框架。

Expand Down
1 change: 0 additions & 1 deletion docs/src/guide/other/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 部署
Expand Down
4 changes: 0 additions & 4 deletions docs/src/guide/project/changeset.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,11 @@ changeset 命令在项目中已经内置:
### 交互式填写变更集

```bash

pnpm run changeset

```

### 统一提升版本号

```bash

pnpm run version

```
8 changes: 0 additions & 8 deletions docs/src/guide/project/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ outline: deep

```bash
pnpm vsh [command] [options]

```

### vsh check-circular
Expand All @@ -25,7 +24,6 @@ pnpm vsh [command] [options]

```bash
pnpm vsh check-circular

```

#### 选项
Expand All @@ -42,7 +40,6 @@ pnpm vsh check-circular

```bash
pnpm vsh check-dep

```

### vsh clean
Expand All @@ -53,7 +50,6 @@ pnpm vsh check-dep

```bash
pnpm vsh clean

```

#### 选项
Expand All @@ -71,7 +67,6 @@ pnpm vsh clean

```bash
pnpm vsh lint

```

#### 选项
Expand All @@ -88,7 +83,6 @@ pnpm vsh lint

```bash
pnpm vsh publint

```

#### 选项
Expand All @@ -105,7 +99,6 @@ pnpm vsh publint

```bash
pnpm vsh code-workspace

```

#### 选项
Expand All @@ -123,7 +116,6 @@ pnpm vsh code-workspace

```bash
pnpm turbo-run [command]

```

### turbo-run dev
Expand Down

0 comments on commit 745c738

Please sign in to comment.