Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vitepress/components.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
export {}

/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
ChangeLog: typeof import('./theme/components/ChangeLog.md')['default']
Expand Down
17 changes: 15 additions & 2 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,21 @@ export default withPwa(defineConfig({
},
},
locales: {
root: { label: 'English' },
zh: { label: '简体中文', link: 'https://vite-pwa-org-zh.netlify.app/' },
root: {
label: 'English',
repository: {
link: 'https://github.com/vite-pwa/docs',
title: 'English Repository',
},
},
zh: {
label: '简体中文',
link: 'https://vite-pwa-org-zh.netlify.app/',
repository: {
link: 'https://github.com/EnochGao/vite-plugin-pwa-zh-docs',
title: '中文存储库',
},
},
},
themeConfig: {
// logo: '/favicon.svg',
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,26 @@
"generate-pwa-icons": "pwa-assets-generator"
},
"dependencies": {
"@vueuse/core": "^10.9.0",
"@vueuse/shared": "^10.9.0",
"vue": "^3.4.26"
"@vueuse/core": "^11.0.3",
"@vueuse/shared": "^11.0.3",
"vue": "^3.5.3"
},
"devDependencies": {
"@antfu/eslint-config": "^0.43.1",
"@antfu/ni": "^0.21.12",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vite-pwa/assets-generator": "^0.2.4",
"@vite-pwa/vitepress": "^0.5.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vueuse/core": "^10.7.0",
"@vite-pwa/assets-generator": "^0.2.6",
"@vite-pwa/vitepress": "^0.5.3",
"@vitejs/plugin-vue": "^5.1.3",
"@vueuse/core": "^11.0.3",
"eslint": "^8.54.0",
"https-localhost": "^4.7.1",
"typescript": "^5.4.5",
"unocss": "^0.58.0",
"unplugin-vue-components": "^0.25.2",
"vite-plugin-pwa": "^0.20.0",
"vitepress": "^1.1.4",
"unplugin-vue-components": "^0.27.4",
"vite-plugin-pwa": "^0.20.5",
"vitepress": "https://pkg.pr.new/vitepress@4184",
"workbox-window": "^7.1.0"
},
"pnpm": {
Expand Down
Loading