From ceecfff7d098f94f6fcb3f4dd81743755650aa87 Mon Sep 17 00:00:00 2001 From: zds <49744633+zds-s@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:15:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/src/en/nav.ts | 15 ++++++++++----- tsconfig.json | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 tsconfig.json diff --git a/.vitepress/src/en/nav.ts b/.vitepress/src/en/nav.ts index a051066..6c73616 100644 --- a/.vitepress/src/en/nav.ts +++ b/.vitepress/src/en/nav.ts @@ -1,11 +1,16 @@ import {DefaultTheme} from "vitepress"; const nav:DefaultTheme.NavItem[] = [ - { text: 'Guide', link: '/en/guide' }, - { text: 'Frontend', link: '/en/front' }, - { text: 'Backend', link: '/en/backend' }, - { text: 'Frequently Asked Questions', link: '/en/faq' }, - { text: 'Old Version Documentation', link: 'https://docv2.mineadmin.com' }, + { text: 'Guide', link: '/en/guide/introduce/mineadmin' }, + { text: 'Frontend', link: '/en/front/base/concept' }, + { text: 'Backend', link: '/en/backend/index' }, + { text: 'Plugins', link: '/en/plugin/index' }, + { text: 'FAQ', link: '/en/faq/index' }, + { text: 'More' ,items:[ + { text: 'Old Version Documentation', link: 'https://docv2.mineadmin.com' }, + { text: 'Hyperf Component Library', link: 'https://hyperf.fans/' }, + { text: 'Fantastic-admin Framework', link: 'https://fantastic-admin.hurui.me/' }, + ]} ] export default nav \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..9b9823b --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,33 @@ +{ + "compilerOptions": { + "jsx": "preserve", + "lib": [ + "DOM", + "ESNext" + ], + "module": "ESNext", + "moduleResolution": "Bundler", + "resolveJsonModule": true, + "strict": true, + "strictNullChecks": true, + "noFallthroughCasesInSwitch": true, + "noImplicitAny": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noEmit": true, + "removeComments": false, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "isolatedModules": true, + "verbatimModuleSyntax": true, + "skipLibCheck": true + }, + "include": [ + "**/.vitepress/**/*.ts", + "**/.vitepress/**/*.mts", + "**/.vitepress/**/*.vue" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file