Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f26b3edd
authored
Aug 06, 2024
by
Donny Wang
Committed by
GitHub
Aug 06, 2024
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
docs: remove invalid spaces (#4057)
1 parent
72ed2d35
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
2 additions
and
29 deletions
README.md
README.zh-CN.md
docs/src/guide/essentials/build.md
docs/src/guide/essentials/development.md
docs/src/guide/essentials/server.md
docs/src/guide/introduction/quick-start.md
docs/src/guide/introduction/vben.md
docs/src/guide/other/faq.md
docs/src/guide/project/changeset.md
docs/src/guide/project/cli.md
README.md
View file @
f26b3ed
...
...
@@ -61,7 +61,6 @@ cd vue-vben-admin
corepack
enable
pnpm install
```
-
run
...
...
README.zh-CN.md
View file @
f26b3ed
...
...
@@ -61,7 +61,6 @@ cd vue-vben-admin
corepack
enable
pnpm install
```
-
运行
...
...
docs/src/guide/essentials/build.md
View file @
f26b3ed
...
...
@@ -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;
}
}
```
## 跨域处理
...
...
docs/src/guide/essentials/development.md
View file @
f26b3ed
...
...
@@ -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`
应用:
...
...
docs/src/guide/essentials/server.md
View file @
f26b3ed
...
...
@@ -269,5 +269,4 @@ mock的本质是一个真实的后端服务,如果不需要 mock 服务,可
```
bash
# .env.development
VITE_NITRO_MOCK
=
false
```
docs/src/guide/introduction/quick-start.md
View file @
f26b3ed
...
...
@@ -62,7 +62,6 @@ corepack enable
# 安装依赖
pnpm install
```
::: tip 注意
...
...
@@ -78,7 +77,6 @@ pnpm install
```
bash
# 启动项目
pnpm dev
```
现在,你可以在浏览器访问
`http://localhost:5555`
查看项目。
docs/src/guide/introduction/vben.md
View file @
f26b3ed
...
...
@@ -20,7 +20,7 @@
-
**动态菜单**
:支持动态菜单,可以根据权限配置显示菜单。
-
**Mock 数据**
:基于 Nitro 的本地高性能 Mock 数据方案。
-
**组件丰富**
:提供了丰富的组件,可以满足大部分的业务需求。
-
**规范**
:代码规范,使用
`ESLint`
、
`Prettier`
、
`Stylelint`
、
`Publint`
、
`
cs
pell`
等工具保证代码质量。
-
**规范**
:代码规范,使用
`ESLint`
、
`Prettier`
、
`Stylelint`
、
`Publint`
、
`
CS
pell`
等工具保证代码质量。
-
**工程化**
:使用
`Pnpm Monorepo`
、
`TurboRepo`
、
`Changeset`
等工具,提高开发效率。
-
**多UI库支持**
:支持
`Ant Design Vue`
、
`Element Plus`
、
`Vuetify`
等主流 UI 库,不再限制于特定框架。
...
...
docs/src/guide/other/faq.md
View file @
f26b3ed
...
...
@@ -131,7 +131,6 @@ registry = https://registry.npmmirror.com/
TypeError: str.matchAll is not a
function
at Object.extractor
(
vue-vben-admin-main
\n
ode_modules@purge-icons
\c
ore
\d
ist
\i
ndex.js:146:27
)
at Extract
(
vue-vben-admin-main
\n
ode_modules@purge-icons
\c
ore
\d
ist
\i
ndex.js:173:54
)
```
## nginx 部署
...
...
docs/src/guide/project/changeset.md
View file @
f26b3ed
...
...
@@ -11,15 +11,11 @@ changeset 命令在项目中已经内置:
### 交互式填写变更集
```
bash
pnpm run changeset
```
### 统一提升版本号
```
bash
pnpm run version
```
docs/src/guide/project/cli.md
View file @
f26b3ed
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment