Skip to content

Commit fb72ccc

Browse files
committed
chore: up vitepress
1 parent 656a2d7 commit fb72ccc

File tree

3 files changed

+163
-29
lines changed

3 files changed

+163
-29
lines changed

docs/.vitepress/config.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ const config = {
2424
title: 'Vue Router',
2525
description: 'The official router for Vue.js.',
2626
},
27-
'/es/': {
28-
lang: 'es-ES',
29-
title: 'Vue Router',
30-
description: 'El router oficial par Vue.js',
31-
},
27+
// '/es/': {
28+
// lang: 'es-ES',
29+
// title: 'Vue Router',
30+
// description: 'El router oficial par Vue.js',
31+
// },
3232
},
3333
head,
3434
// serviceWorker: true,
@@ -184,23 +184,23 @@ const config = {
184184
},
185185
},
186186

187-
'/es/': {
188-
nav: [
189-
{
190-
text: 'Guía',
191-
link: '/guide/',
192-
},
193-
{
194-
text: 'API',
195-
link: '/api/',
196-
},
197-
{
198-
text: 'Cambios',
199-
link:
200-
'https://github.com/vuejs/vue-router-next/blob/master/CHANGELOG.md',
201-
},
202-
],
203-
},
187+
// '/es/': {
188+
// nav: [
189+
// {
190+
// text: 'Guía',
191+
// link: '/guide/',
192+
// },
193+
// {
194+
// text: 'API',
195+
// link: '/api/',
196+
// },
197+
// {
198+
// text: 'Cambios',
199+
// link:
200+
// 'https://github.com/vuejs/vue-router-next/blob/master/CHANGELOG.md',
201+
// },
202+
// ],
203+
// },
204204
},
205205
}
206206

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"@vue/compiler-sfc": "^3.0.2",
7474
"@vue/devtools-api": "^6.0.0-beta.2",
7575
"@vue/server-renderer": "^3.0.2",
76-
"algoliasearch": "^4.5.1",
76+
"algoliasearch": "^4.8.0",
7777
"axios": "^0.21.0",
7878
"brotli": "^1.3.2",
7979
"browserstack-local": "^1.4.5",
@@ -101,7 +101,7 @@
101101
"ts-loader": "^8.0.11",
102102
"ts-node": "^9.0.0",
103103
"typescript": "^4.0.3",
104-
"vitepress": "^0.7.3",
104+
"vitepress": "^0.8.0",
105105
"vue": "^3.0.2",
106106
"vue-loader": "^16.0.0-rc.1",
107107
"webpack": "^5.3.2",

yarn.lock

Lines changed: 139 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,37 @@
99
dependencies:
1010
"@algolia/cache-common" "4.6.0"
1111

12+
"@algolia/[email protected]":
13+
version "4.8.0"
14+
resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.8.0.tgz#42137b8e18474e8a94bd7206d7e4ada2daf5da04"
15+
integrity sha512-VnI25yr+3LfCnHdp4YWWjdjtTseY3/hFwhp9vXBZLq+ZCbGpDiRjCNP9ZXLJELrtugk5tn2DpBGN2LWF4ZpKLg==
16+
dependencies:
17+
"@algolia/cache-common" "4.8.0"
18+
1219
"@algolia/[email protected]":
1320
version "4.6.0"
1421
resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.6.0.tgz#f67da65766a004368db0833caf4890fe450d8f0a"
1522
integrity sha512-mEedrPb2O3WwtiIHggFoIhTbHVCMNikxMiiN9kqmwZkdDfClfxm435OUGZfAl67rBZfc0DNs/jmPM2mUoefM9A==
1623

24+
"@algolia/[email protected]":
25+
version "4.8.0"
26+
resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.8.0.tgz#fd57e4bfb75c93ae82c1cf047fa81511d720cfd9"
27+
integrity sha512-68WmVpHOFerjDh7AqUZdGdZF/wR1kEmDv1o32Gcty00BIfHLAo8YuA7ijoTPhJh4fGWwR2gYIybO/WOmFhwK5Q==
28+
1729
"@algolia/[email protected]":
1830
version "4.6.0"
1931
resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.6.0.tgz#f29bf505b52261d0fc29942a58b16c89527db16c"
2032
integrity sha512-J7ayGokVWEFkuLxzgrIsPS4k1/ZndyGVpG/qPrG9RHVrs7ZogEhUSY1tbEyUlW3mGy7diIh+/52dtohDL/nbGQ==
2133
dependencies:
2234
"@algolia/cache-common" "4.6.0"
2335

36+
"@algolia/[email protected]":
37+
version "4.8.0"
38+
resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.8.0.tgz#7716ec2dd797f890e69fb48e44add5ae1faa1ad3"
39+
integrity sha512-m1uYLns8+PzlTy8xeXkM+p2sjFCJahYnrPj0s8ymU1bHgQC5qGp7rEz7o7zxElGYBeJ+f8tNiXrsnCnutASfNg==
40+
dependencies:
41+
"@algolia/cache-common" "4.8.0"
42+
2443
"@algolia/[email protected]":
2544
version "4.6.0"
2645
resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.6.0.tgz#bf68f8961b76b520d02bd46e08ddd0a949b73bb9"
@@ -30,6 +49,15 @@
3049
"@algolia/client-search" "4.6.0"
3150
"@algolia/transporter" "4.6.0"
3251

52+
"@algolia/[email protected]":
53+
version "4.8.0"
54+
resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.8.0.tgz#0b88d04a1733fc48b813db4e1d7a8226062ae79b"
55+
integrity sha512-xNMfm7UPuPQpKtd5a2NB8j5LGockB4vsx+/0O9ZbboMKbDeucWa44CpXx7p0vPXW4SUgifCu7AFN//qXxIyxXg==
56+
dependencies:
57+
"@algolia/client-common" "4.8.0"
58+
"@algolia/client-search" "4.8.0"
59+
"@algolia/transporter" "4.8.0"
60+
3361
"@algolia/[email protected]":
3462
version "4.6.0"
3563
resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.6.0.tgz#ee180fe1793f4989cff7500e14a543cbfcb1b3a7"
@@ -40,6 +68,16 @@
4068
"@algolia/requester-common" "4.6.0"
4169
"@algolia/transporter" "4.6.0"
4270

71+
"@algolia/[email protected]":
72+
version "4.8.0"
73+
resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.8.0.tgz#3bd928f20e20c15feb0cb3741ac581bfb8aecd51"
74+
integrity sha512-Zq+yjvN03E7sDvLer9NvGfab9WplckRCGjnyDcdk11rF1Bhht8adtbfyaO78Ftl2SujkvBMsnTF8THVf0Ewplg==
75+
dependencies:
76+
"@algolia/client-common" "4.8.0"
77+
"@algolia/client-search" "4.8.0"
78+
"@algolia/requester-common" "4.8.0"
79+
"@algolia/transporter" "4.8.0"
80+
4381
"@algolia/[email protected]":
4482
version "4.6.0"
4583
resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.6.0.tgz#a2cd94cce0026335e89ac508087425dfce20dd07"
@@ -48,6 +86,14 @@
4886
"@algolia/requester-common" "4.6.0"
4987
"@algolia/transporter" "4.6.0"
5088

89+
"@algolia/[email protected]":
90+
version "4.8.0"
91+
resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.8.0.tgz#3c3fcfa135fae2813d2be13e23282714cc306b98"
92+
integrity sha512-tjth4GICsY/V3gFtzebH7fS9V9/dlLdKpMgjbrNeIDo+rB3vJtBYwguhUrVLl2x2H0Hu5ffN26VclXRHFpwslg==
93+
dependencies:
94+
"@algolia/requester-common" "4.8.0"
95+
"@algolia/transporter" "4.8.0"
96+
5197
"@algolia/[email protected]":
5298
version "4.6.0"
5399
resolved "https://registry.yarnpkg.com/@algolia/client-recommendation/-/client-recommendation-4.6.0.tgz#22d0c9db79873f96ac41c1f66e3ab654b1a9b73d"
@@ -57,6 +103,15 @@
57103
"@algolia/requester-common" "4.6.0"
58104
"@algolia/transporter" "4.6.0"
59105

106+
"@algolia/[email protected]":
107+
version "4.8.0"
108+
resolved "https://registry.yarnpkg.com/@algolia/client-recommendation/-/client-recommendation-4.8.0.tgz#fbe6d49ad9a87ee0ffdd79491e1332a1711ebbd2"
109+
integrity sha512-HdKBNRYVrFhyX3oPZg+LT1peO7tMawFYtiMHGoHFyR0PHfqMIw305NAErV+jGo3WmLJuyt4ywNrTtQnwFd+YYw==
110+
dependencies:
111+
"@algolia/client-common" "4.8.0"
112+
"@algolia/requester-common" "4.8.0"
113+
"@algolia/transporter" "4.8.0"
114+
60115
"@algolia/[email protected]":
61116
version "4.6.0"
62117
resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.6.0.tgz#5c73de6be352eeb35332cb5284b7c4b9e2f88ba7"
@@ -66,37 +121,77 @@
66121
"@algolia/requester-common" "4.6.0"
67122
"@algolia/transporter" "4.6.0"
68123

124+
"@algolia/[email protected]":
125+
version "4.8.0"
126+
resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.8.0.tgz#be9021adcb958f9e5478159e38f741b98e88f8ca"
127+
integrity sha512-emfW9q/uqO4FmB7vLipLk+O/m4BKsAZ7Yaaamawv35kw1HqfBdJZZbIUcg5aGz45SIUdA36WIuT7JiRdrCfxBA==
128+
dependencies:
129+
"@algolia/client-common" "4.8.0"
130+
"@algolia/requester-common" "4.8.0"
131+
"@algolia/transporter" "4.8.0"
132+
69133
"@algolia/[email protected]":
70134
version "4.6.0"
71135
resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.6.0.tgz#966591b903eae60201d12c4126fbf278303e2d2a"
72136
integrity sha512-F+0HTGSQzJfWsX/cJq2l4eG2Y5JA6pqZ0YETyo5XJhZX4JaDrGszVKuOqp8kovZF/Ifebywxb8JdCiSUskmbig==
73137

138+
"@algolia/[email protected]":
139+
version "4.8.0"
140+
resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.8.0.tgz#ef5541a39bc13cf2a8b024f8f3dc6e35b08bbffe"
141+
integrity sha512-6kewiORcU2a56hJOo5+Q91SF2ynk5H89jmfnNsveHdl3PPaOKJSsb9tqIErOZyv911zeeK6bVTCHllYeeJkxsg==
142+
74143
"@algolia/[email protected]":
75144
version "4.6.0"
76145
resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.6.0.tgz#7e1811aa22e6aad22ef7946732f9a110b46c4eb0"
77146
integrity sha512-ers7OhfU6qBQl6s7MOe5gNUkcpa7LGrhEzDWnD0cUwLSd5BvWt7zEN69O2CZVbvAUZYlZ5zJTzMMa49s0VXrKQ==
78147
dependencies:
79148
"@algolia/logger-common" "4.6.0"
80149

150+
"@algolia/[email protected]":
151+
version "4.8.0"
152+
resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.8.0.tgz#4c2dd4c66788f7e47b91fe027c129f20c3006146"
153+
integrity sha512-K1E/ppSHo5+215tj2G2N4LNjQLYjh6NfRDlAD30x9M6BbTSDI8tf12CgiPBe6wmdj8IQLzA2+5od8MSZKBpUMA==
154+
dependencies:
155+
"@algolia/logger-common" "4.8.0"
156+
81157
"@algolia/[email protected]":
82158
version "4.6.0"
83159
resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.6.0.tgz#51870239c98467d5bf0a7071523111c120b560c1"
84160
integrity sha512-ugrJT25VUkoKrl5vJVFclMdogbhTiDZ38Gss4xfTiSsP/SGE/0ei5VEOMEcj/bjkurJjPky1HfJZ3ykJhIsfCA==
85161
dependencies:
86162
"@algolia/requester-common" "4.6.0"
87163

164+
"@algolia/[email protected]":
165+
version "4.8.0"
166+
resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.8.0.tgz#30c59783ea865504aa843eb6ba49daf92bbfb6d1"
167+
integrity sha512-BCKwuGQX+HujFeTpJdA9VwSFyjvmyz1wYdoYcCxgROWrM8QRCxxFvGUKCCjvkRf1vuqz/6xoSTsysZyKFkcjTA==
168+
dependencies:
169+
"@algolia/requester-common" "4.8.0"
170+
88171
"@algolia/[email protected]":
89172
version "4.6.0"
90173
resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.6.0.tgz#0990f3b21414a3ec5a3a468f33f2b9bff4489222"
91174
integrity sha512-DJ5iIGBGrRudimaaFnpBFM19pv8SsXiMYuukn9q1GgQh2mPPBCBBJiezKc7+OzE1UyCVrAFBpR/hrJnflZnRdQ==
92175

176+
"@algolia/[email protected]":
177+
version "4.8.0"
178+
resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.8.0.tgz#515d46294ec14a982ea75ac9ce97e20566c1c576"
179+
integrity sha512-JKjlHPZU43rTcyvANHh5ctYRNXIZea2g5A33YPlrCXFJb3BBqS/H0ssFNyEwp8SJxJR3uUHl3m6DJpvuA7RtHg==
180+
93181
"@algolia/[email protected]":
94182
version "4.6.0"
95183
resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.6.0.tgz#a2e6c981507faf2f309f06fda2503f591e3a768d"
96184
integrity sha512-MPZK3oZz0jSBsqrGiPxv7LOKMUNknlaRNyRDy0v/ASIYG+GvLhGTdEzG5Eyw5tgSvBr8CWrWM5tDC31EH40Ndw==
97185
dependencies:
98186
"@algolia/requester-common" "4.6.0"
99187

188+
"@algolia/[email protected]":
189+
version "4.8.0"
190+
resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.8.0.tgz#7bf308a91f7b1854df91c5855fa9313949a70607"
191+
integrity sha512-OSX00OXT/SWTmVwi7bkfSoGJdo9zwUHb1o0j71WbIdt8NH1KVZdC1mFfyRPp5mN2pi02brm3tv9NGNCeaLgLvQ==
192+
dependencies:
193+
"@algolia/requester-common" "4.8.0"
194+
100195
"@algolia/[email protected]":
101196
version "4.6.0"
102197
resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.6.0.tgz#741300a1cd7efd175fc660c37afee4d9903621e5"
@@ -106,6 +201,15 @@
106201
"@algolia/logger-common" "4.6.0"
107202
"@algolia/requester-common" "4.6.0"
108203

204+
"@algolia/[email protected]":
205+
version "4.8.0"
206+
resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.8.0.tgz#4ddf9db11c946ddbbd640ad3bced38147734a24a"
207+
integrity sha512-fYYXUMQ5avvW1a1vLdQX8qRiPxUv3C1+DAw0nWDqfhHAesQtgwsibRmuQV9XVs3hpmRwiZbavzD+dXbhkY/XCQ==
208+
dependencies:
209+
"@algolia/cache-common" "4.8.0"
210+
"@algolia/logger-common" "4.8.0"
211+
"@algolia/requester-common" "4.8.0"
212+
109213
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4":
110214
version "7.10.4"
111215
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a"
@@ -1529,7 +1633,7 @@ ajv@^6.1.0, ajv@^6.12.3, ajv@^6.12.5:
15291633
json-schema-traverse "^0.4.1"
15301634
uri-js "^4.2.2"
15311635

1532-
algoliasearch@^4.0.0, algoliasearch@^4.5.1:
1636+
algoliasearch@^4.0.0:
15331637
version "4.6.0"
15341638
resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.6.0.tgz#ad96ecd6e4aa2f1187d5a6ade9f914b080001e28"
15351639
integrity sha512-f4QVfUYnWIGZwOupZh0RAqW8zEfpZAcZG6ZT0p6wDMztEyKBrjjbTXBk9p9uEaJqoIhFUm6TtApOxodTdHbqvw==
@@ -1549,6 +1653,26 @@ algoliasearch@^4.0.0, algoliasearch@^4.5.1:
15491653
"@algolia/requester-node-http" "4.6.0"
15501654
"@algolia/transporter" "4.6.0"
15511655

1656+
algoliasearch@^4.8.0:
1657+
version "4.8.0"
1658+
resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.8.0.tgz#12bb88b4093b05a5afdc369d3e8b83036d5f4822"
1659+
integrity sha512-y2PisBS5323otDtuZuUJavk6AATBiq7M/lDryClRigpU3dHGGamtoN/8dDD4/giw38QV7dfw2LwogU6Xb4txmQ==
1660+
dependencies:
1661+
"@algolia/cache-browser-local-storage" "4.8.0"
1662+
"@algolia/cache-common" "4.8.0"
1663+
"@algolia/cache-in-memory" "4.8.0"
1664+
"@algolia/client-account" "4.8.0"
1665+
"@algolia/client-analytics" "4.8.0"
1666+
"@algolia/client-common" "4.8.0"
1667+
"@algolia/client-recommendation" "4.8.0"
1668+
"@algolia/client-search" "4.8.0"
1669+
"@algolia/logger-common" "4.8.0"
1670+
"@algolia/logger-console" "4.8.0"
1671+
"@algolia/requester-browser-xhr" "4.8.0"
1672+
"@algolia/requester-common" "4.8.0"
1673+
"@algolia/requester-node-http" "4.8.0"
1674+
"@algolia/transporter" "4.8.0"
1675+
15521676
15531677
version "3.2.3"
15541678
resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813"
@@ -8131,6 +8255,13 @@ rollup@^2.32.1, rollup@^2.33.2:
81318255
optionalDependencies:
81328256
fsevents "~2.1.2"
81338257

8258+
rollup@^2.33.3:
8259+
version "2.33.3"
8260+
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.33.3.tgz#ae72ce31f992b09a580072951bfea76e9df17342"
8261+
integrity sha512-RpayhPTe4Gu/uFGCmk7Gp5Z9Qic2VsqZ040G+KZZvsZYdcuWaJg678JeDJJvJeEQXminu24a2au+y92CUWVd+w==
8262+
optionalDependencies:
8263+
fsevents "~2.1.2"
8264+
81348265
rsvp@^4.8.4:
81358266
version "4.8.5"
81368267
resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734"
@@ -9532,13 +9663,14 @@ vite@^1.0.0-rc.9:
95329663
vue "^3.0.2"
95339664
ws "^7.3.1"
95349665

9535-
vitepress@^0.7.3:
9536-
version "0.7.4"
9537-
resolved "https://registry.yarnpkg.com/vitepress/-/vitepress-0.7.4.tgz#a91a617f435a6bb49317cf4c39271b35403d16a8"
9538-
integrity sha512-iC8lVGcyLXTrLE6bmedFmvgHBYSCdt3tF1VwQC6MnISj9xPDYRI43fyxko0rDB4CduKM4hZirHXNr0Snfuwb8g==
9666+
vitepress@^0.8.0:
9667+
version "0.8.0"
9668+
resolved "https://registry.yarnpkg.com/vitepress/-/vitepress-0.8.0.tgz#6c842e67909b584ea9977835705a823dd5d5c36a"
9669+
integrity sha512-jPfxpamlR3SOn20R9I+X2X0YE//wQhVwjB4LGll6pSycG5WFt91HoarSgGQk5f27nCgyefAQAOBAucjL1hLQQg==
95399670
dependencies:
95409671
"@vue/compiler-sfc" "^3.0.2"
95419672
"@vue/server-renderer" "^3.0.2"
9673+
chalk "^4.1.0"
95429674
debug "^4.1.1"
95439675
diacritics "^1.3.0"
95449676
escape-html "^1.0.3"
@@ -9552,7 +9684,9 @@ vitepress@^0.7.3:
95529684
markdown-it-emoji "^1.4.0"
95539685
markdown-it-table-of-contents "^0.4.4"
95549686
minimist "^1.2.5"
9687+
ora "^5.1.0"
95559688
prismjs "^1.20.0"
9689+
rollup "^2.33.3"
95569690
slash "^3.0.0"
95579691
vite "^1.0.0-rc.9"
95589692
vue "^3.0.2"

0 commit comments

Comments
 (0)