├── .vercelignore ├── src ├── hooks │ ├── index.ts │ └── fullscreen.ts ├── store │ ├── types │ │ └── index.d.ts │ ├── index.ts │ └── modules │ │ ├── setting.ts │ │ └── tagsView.ts ├── views │ ├── list │ │ ├── card │ │ │ └── card.tsx │ │ └── search-table │ │ │ └── search-table.tsx │ ├── profile │ │ └── basic │ │ │ └── basic.tsx │ ├── document │ │ └── document.tsx │ ├── dashboard │ │ ├── monitor │ │ │ └── monitor.tsx │ │ └── workplace │ │ │ └── workplace.tsx │ ├── home │ │ └── home.tsx │ ├── login.tsx │ └── base-component │ │ └── baseComponent.tsx ├── components │ ├── layouts │ │ ├── style │ │ │ ├── header.module.less │ │ │ └── logo.module.less │ │ ├── BaseLogo.tsx │ │ ├── AppMain.tsx │ │ ├── BaseSider.tsx │ │ ├── Menu.tsx │ │ └── BaseHeader.tsx │ ├── TriggerCollapse │ │ ├── style │ │ │ └── index.module.less │ │ └── index.tsx │ ├── DButton.tsx │ ├── TipIcon.tsx │ ├── Breadcrumb │ │ └── index.tsx │ ├── RightTool │ │ ├── DragItem.tsx │ │ └── index.tsx │ ├── GlobalProvider.tsx │ ├── TagsView │ │ ├── useTagsView.ts │ │ ├── index.tsx │ │ └── useDropdown.ts │ └── GlobalDraw.tsx ├── layout │ ├── BlankLayout.tsx │ └── PageLayout.tsx ├── router │ ├── modules │ │ ├── login.ts │ │ ├── index.ts │ │ ├── base.ts │ │ ├── document.ts │ │ ├── home.ts │ │ ├── profile.ts │ │ ├── dashboard.ts │ │ └── list.ts │ ├── routes.ts │ ├── typings.d.ts │ └── index.ts ├── utils │ └── index.tsx ├── assets │ ├── logo.svg │ └── base.css ├── style │ └── base.less ├── main.ts ├── App.tsx ├── settings.ts └── auto-imports.d.ts ├── vercel.json ├── public └── favicon.ico ├── .eslintignore ├── .prettierignore ├── .vscode └── extensions.json ├── .prettierrc.js ├── tsconfig.config.json ├── .editorconfig ├── index.html ├── env.d.ts ├── .gitignore ├── md ├── hmr.md ├── 笔记.md └── note.md ├── tsconfig.json ├── vite.config.ts ├── package.json ├── .eslintrc.js └── README.md /.vercelignore: -------------------------------------------------------------------------------- 1 | README.md 2 | -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- 1 | export * from './fullscreen' 2 | -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- 1 | { 2 | "rewrites": [{ "source": "/:path*", "destination": "/index.html" }] 3 | } 4 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WalkAlone0325/tsx-naive-admin/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | pnpm-lock.yaml 4 | src/components.d.ts 5 | src/auto-import.d.ts 6 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | pnpm-lock.yaml 4 | src/components.d.ts 5 | src/auto-import.d.ts 6 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] 3 | } 4 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | semi: false, 3 | singleQuote: true, 4 | trailingComma: 'none', 5 | endOfLine: 'lf' 6 | } 7 | -------------------------------------------------------------------------------- /src/store/types/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { RouteMeta } from 'vue-router' 2 | 3 | export interface TagView extends RouteMeta { 4 | fullPath: string 5 | [key: string]: any 6 | } 7 | -------------------------------------------------------------------------------- /src/views/list/card/card.tsx: -------------------------------------------------------------------------------- 1 | const CardView = defineComponent({ 2 | name: 'CardView', 3 | setup() { 4 | return () =>