Skip to content

Commit ef598b8

Browse files
committed
refactor: 更新项目预览地址、文档链接
- 更新预览地址为 ducrong.com/vue-vben-admin - 更新文档链接为 https://ducrong.com/vue-vben-admin/docs
1 parent 782a636 commit ef598b8

File tree

25 files changed

+76
-63
lines changed

25 files changed

+76
-63
lines changed

README.ja-JP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Vue Vben Adminは、最新の`vue3`、`vite`、`TypeScript`などの主流技術
3232

3333
## プレビュー
3434

35-
- [Vben Admin](https://vben.pro/) - フルバージョンの中国語サイト
35+
- [Vue Vben Admin](https://ducrong.com/vue-vben-admin/) - フルバージョンの中国語サイト
3636

3737
テストアカウント:vben/123456
3838

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This is the latest version, 5.0, and it is not compatible with previous versions
3232

3333
## Preview
3434

35-
- [Vben Admin](https://vben.pro/) - Full version Chinese site
35+
- [Vue Vben Admin](https://ducrong.com/vue-vben-admin/) - Full version Chinese site
3636

3737
Test Account: vben/123456
3838

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Vue Vben Admin 是 Vue Vben Admin 的升级版本。作为一个免费开源的
3232

3333
## 预览
3434

35-
- [Vben Admin](https://vben.pro/) - 完整版中文站点
35+
- [Vue Vben Admin](https://ducrong.com/vue-vben-admin/) - 完整版中文站点
3636

3737
测试账号:vben/123456
3838

docs/.vitepress/config/en.mts

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const en = defineConfig({
1616
},
1717
editLink: {
1818
pattern:
19-
'https://github.com/vbenjs/vue-vben-admin/edit/main/docs/src/:path',
19+
'https://github.com/Ducr/vue-vben-admin-playground/edit/main/docs/src/:path',
2020
text: 'Edit this page on GitHub',
2121
},
2222
footer: {
@@ -166,21 +166,25 @@ function nav(): DefaultTheme.NavItem[] {
166166
text: 'Vben Admin',
167167
items: [
168168
{
169-
link: 'https://www.vben.pro',
169+
link: 'https://ducrong.com/vue-vben-admin',
170170
text: 'Demo Version',
171171
},
172172
{
173-
link: 'https://ant.vben.pro',
173+
link: 'https://ducrong.com/vue-vben-admin-antd',
174174
text: 'Ant Design Vue Version',
175175
},
176176
{
177-
link: 'https://naive.vben.pro',
177+
link: 'https://ducrong.com/vue-vben-admin-naive',
178178
text: 'Naive Version',
179179
},
180180
{
181-
link: 'https://ele.vben.pro',
181+
link: 'https://ducrong.com/vue-vben-admin-ele',
182182
text: 'Element Plus Version',
183183
},
184+
{
185+
link: 'https://ducrong.com/vue-vben-admin-tdesign',
186+
text: 'TDesign Version',
187+
},
184188
],
185189
},
186190
{
@@ -198,15 +202,15 @@ function nav(): DefaultTheme.NavItem[] {
198202
text: version,
199203
items: [
200204
{
201-
link: 'https://github.com/vbenjs/vue-vben-admin/releases',
205+
link: 'https://github.com/Ducr/vue-vben-admin-playground/releases',
202206
text: 'Changelog',
203207
},
204208
{
205-
link: 'https://github.com/orgs/vbenjs/projects/5',
206-
text: 'Roadmap',
209+
link: 'https://github.com/Ducr/vue-vben-admin-playground',
210+
text: 'GitHub Repository',
207211
},
208212
{
209-
link: 'https://github.com/vbenjs/vue-vben-admin/blob/main/.github/contributing.md',
213+
link: 'https://github.com/Ducr/vue-vben-admin-playground/blob/main/README.md',
210214
text: 'Contribution',
211215
},
212216
],

docs/.vitepress/config/shared.mts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ export const shared = defineConfig({
4747
},
4848
siteTitle: 'Vben Admin',
4949
socialLinks: [
50-
{ icon: 'github', link: 'https://github.com/vbenjs/vue-vben-admin' },
50+
{
51+
icon: 'github',
52+
link: 'https://github.com/Ducr/vue-vben-admin-playground',
53+
},
5154
],
5255
},
5356
title: 'Vben Admin',
@@ -89,7 +92,7 @@ export const shared = defineConfig({
8992
username: 'likui628',
9093
},
9194
],
92-
repoURL: () => 'https://github.com/vbenjs/vue-vben-admin',
95+
repoURL: () => 'https://github.com/Ducr/vue-vben-admin-playground',
9396
}),
9497
GitChangelogMarkdownSection(),
9598
viteArchiverPlugin({ outputDir: '.vitepress' }),

docs/.vitepress/config/zh.mts

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const zh = defineConfig({
1616
},
1717
editLink: {
1818
pattern:
19-
'https://github.com/vbenjs/vue-vben-admin/edit/main/docs/src/:path',
19+
'https://github.com/Ducr/vue-vben-admin-playground/edit/main/docs/src/:path',
2020
text: '在 GitHub 上编辑此页面',
2121
},
2222
footer: {
@@ -235,20 +235,24 @@ function nav(): DefaultTheme.NavItem[] {
235235
text: 'Vben Admin',
236236
items: [
237237
{
238-
link: 'https://www.vben.pro',
238+
link: 'https://ducrong.com/vue-vben-admin',
239239
text: '演示版本',
240240
},
241241
{
242-
link: 'https://ant.vben.pro',
242+
link: 'https://ducrong.com/vue-vben-admin-antd',
243243
text: 'Ant Design Vue 版本',
244244
},
245245
{
246-
link: 'https://naive.vben.pro',
246+
link: 'https://ducrong.com/vue-vben-admin-naive',
247247
text: 'Naive 版本',
248248
},
249249
{
250-
link: 'https://ele.vben.pro',
251-
text: 'Element Plus版本',
250+
link: 'https://ducrong.com/vue-vben-admin-ele',
251+
text: 'Element Plus 版本',
252+
},
253+
{
254+
link: 'https://ducrong.com/vue-vben-admin-tdesign',
255+
text: 'TDesign 版本',
252256
},
253257
],
254258
},
@@ -267,15 +271,15 @@ function nav(): DefaultTheme.NavItem[] {
267271
text: version,
268272
items: [
269273
{
270-
link: 'https://github.com/vbenjs/vue-vben-admin/releases',
274+
link: 'https://github.com/Ducr/vue-vben-admin-playground/releases',
271275
text: '更新日志',
272276
},
273277
{
274-
link: 'https://github.com/orgs/vbenjs/projects/5',
275-
text: '路线图',
278+
link: 'https://github.com/Ducr/vue-vben-admin-playground',
279+
text: 'GitHub 仓库',
276280
},
277281
{
278-
link: 'https://github.com/vbenjs/vue-vben-admin/blob/main/.github/contributing.md',
282+
link: 'https://github.com/Ducr/vue-vben-admin-playground/blob/main/README.md',
279283
text: '贡献',
280284
},
281285
],

docs/src/commercial/technical-support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
在使用项目的过程中,如果遇到问题,你可以先详细阅读本文档,未找到解决方案时,可以通过以下方式获取技术支持:
66

7-
- 通过 [GitHub Issues](https://github.com/vbenjs/vue-vben-admin/issues)
8-
- 通过 [GitHub Discussions](https://github.com/vbenjs/vue-vben-admin/discussions)
7+
- 通过 [GitHub Issues](https://github.com/Ducr/vue-vben-admin-playground/issues)
8+
- 通过 [GitHub Discussions](https://github.com/Ducr/vue-vben-admin-playground/discussions)

docs/src/components/common-ui/vben-api-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function fetchApi(): Promise<Record<string, any>> {
125125

126126
## 并发和缓存
127127

128-
有些场景下可能需要使用多个ApiComponent,它们使用了相同的远程数据源(例如用在可编辑的表格中)。如果直接将请求后端接口的函数传递给api属性,则每一个实例都会访问一次接口,这会造成资源浪费,是完全没有必要的。Tanstack Query提供了并发控制、缓存、重试等诸多特性,我们可以将接口请求函数用useQuery包装一下再传递给ApiComponent,这样的话无论页面有多少个使用相同数据源的ApiComponent实例,都只会发起一次远程请求。演示效果请参考 [Playground vue-query](https://www.vben.pro/#/demos/features/vue-query),具体代码请查看项目文件[concurrency-caching](https://github.com/vbenjs/vue-vben-admin/blob/main/playground/src/views/demos/features/vue-query/concurrency-caching.vue)
128+
有些场景下可能需要使用多个ApiComponent,它们使用了相同的远程数据源(例如用在可编辑的表格中)。如果直接将请求后端接口的函数传递给api属性,则每一个实例都会访问一次接口,这会造成资源浪费,是完全没有必要的。Tanstack Query提供了并发控制、缓存、重试等诸多特性,我们可以将接口请求函数用useQuery包装一下再传递给ApiComponent,这样的话无论页面有多少个使用相同数据源的ApiComponent实例,都只会发起一次远程请求。演示效果请参考 [Playground vue-query](https://ducrong.com/vue-vben-admin/#/demos/features/vue-query),具体代码请查看项目文件[concurrency-caching](https://github.com/Ducr/vue-vben-admin-playground/blob/main/playground/src/views/demos/features/vue-query/concurrency-caching.vue)
129129

130130
## API
131131

docs/src/en/guide/essentials/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ const defaultPreferences: Preferences = {
238238
},
239239
copyright: {
240240
companyName: 'Vben',
241-
companySiteLink: 'https://www.vben.pro',
241+
companySiteLink: 'https://ducrong.com/vue-vben-admin',
242242
date: '2024',
243243
enable: true,
244244
icp: '',

docs/src/en/guide/introduction/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ git -v
3232

3333
```bash [GitHub]
3434
# Clone the code
35-
git clone https://github.com/vbenjs/vue-vben-admin.git
35+
git clone https://github.com/Ducr/vue-vben-admin-playground.git
3636
```
3737

3838
```bash [Gitee]

0 commit comments

Comments
 (0)