├── .editorconfig ├── .env ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .npmrc ├── .vscode ├── extensions.json └── settings.json ├── LICENSE ├── README.md ├── README.zh-CN.md ├── index.html ├── netlify.toml ├── package.json ├── pnpm-lock.yaml ├── public ├── _headers └── favicon.svg ├── src ├── App.vue ├── api │ ├── table.ts │ └── user.ts ├── assets │ ├── 403.svg │ ├── 404.svg │ ├── 500.svg │ ├── login-bg.svg │ └── preview.jpeg ├── auto-imports.d.ts ├── components.d.ts ├── components │ ├── LayoutAside.vue │ ├── LayoutAsideMenu.vue │ ├── LayoutBreadcrumb.vue │ ├── LayoutHeader.vue │ ├── LayoutPageHeader.vue │ ├── LayoutTabs.vue │ └── README.md ├── composables │ ├── breakpoints.ts │ ├── dark.ts │ ├── descriptions.ts │ ├── form.ts │ ├── index.ts │ ├── table.ts │ └── useAsync.ts ├── layouts │ ├── 404.vue │ ├── README.md │ ├── default.vue │ └── empty.vue ├── main.ts ├── mocks │ └── index.js ├── modules │ ├── README.md │ ├── nprogress.ts │ ├── pinia.ts │ └── user.ts ├── pages │ ├── README.md │ ├── [...all].vue │ ├── dashboard │ │ ├── analysis.vue │ │ ├── monitor.vue │ │ └── workplace.vue │ ├── exception │ │ ├── 403.vue │ │ ├── 404.vue │ │ └── 500.vue │ ├── form │ │ ├── advanced-form.vue │ │ ├── basic-form.vue │ │ └── step-form.vue │ ├── icons │ │ ├── ant-design.vue │ │ └── element-plus.vue │ ├── list │ │ ├── table-pro-layout.vue │ │ ├── table-pro.vue │ │ └── table.vue │ ├── multi-window │ │ ├── index.vue │ │ └── page2.vue │ ├── permission │ │ └── index.vue │ ├── profile │ │ ├── advanced.vue │ │ └── basic.vue │ ├── result │ │ ├── fail.vue │ │ └── success.vue │ └── user │ │ └── login.vue ├── router.ts ├── shims.d.ts ├── stores │ ├── layout.ts │ ├── permission.ts │ └── user.ts ├── styles │ └── main.css ├── types.ts └── utils │ ├── index.ts │ └── request.ts ├── tsconfig.json ├── unocss.config.ts └── vite.config.ts /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- 1 | VITE_APP_NAME=MDAdmin -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | public 3 | mocks -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@antfu", 3 | "rules": { 4 | "@typescript-eslint/brace-style": ["error", "1tbs"], 5 | "curly": ["error", "all"] 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .vite-ssg-dist 3 | .vite-ssg-temp 4 | *.local 5 | dist 6 | dist-ssr 7 | node_modules 8 | .idea/ 9 | *.log 10 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | shamefully-hoist=true 2 | strict-peer-dependencies=false 3 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "antfu.iconify", 4 | "antfu.unocss", 5 | "antfu.vite", 6 | "csstools.postcss", 7 | "dbaeumer.vscode-eslint", 8 | "johnsoncodehk.volar", 9 | "lokalise.i18n-ally" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.words": [ 3 | "antfu", 4 | "composables", 5 | "demi", 6 | "iconify", 7 | "intlify", 8 | "pinia", 9 | "pnpm", 10 | "unocss", 11 | "unplugin", 12 | "Vite", 13 | "vitejs", 14 | "Vitesse", 15 | "vitest", 16 | "vueuse" 17 | ], 18 | "i18n-ally.sourceLanguage": "en", 19 | "i18n-ally.keystyle": "nested", 20 | "i18n-ally.localesPaths": "locales", 21 | "i18n-ally.sortKeys": true, 22 | "prettier.enable": false, 23 | "editor.codeActionsOnSave": { 24 | "source.fixAll.eslint": true, 25 | }, 26 | "files.associations": { 27 | "*.css": "postcss", 28 | }, 29 | "editor.formatOnSave": false, 30 | "iconify.excludes": [ 31 | "el" 32 | ], 33 | } 34 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 hminghe 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 |
![]() |
5 | ![]() |
6 | ![]() |
7 |
![]() |
10 | ![]() |
11 | ![]() |
12 |
![]() |
15 | ![]() |
16 | ![]() |
17 |
22 | Mocking up web app with MDAdmin(speed)
23 |
28 | Live Demo 29 |
30 | 31 |34 | English | 简体中文 35 | 36 |
37 | 38 |