Skip to content

Commit

Permalink
base
Browse files Browse the repository at this point in the history
  • Loading branch information
slowlyo committed Sep 5, 2023
1 parent 4d7fa37 commit 2d94e76
Show file tree
Hide file tree
Showing 29 changed files with 608 additions and 134 deletions.
18 changes: 9 additions & 9 deletions admin-views/.umirc.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { defineConfig } from "umi";
import {defineConfig} from 'umi'

export default defineConfig({
routes: [
{ path: "/", component: "index" },
{ path: "/docs", component: "docs" },
],
routes: [
{path: '/', component: 'index'},
{path: '/login', component: 'login', layout: false},
],

npmClient: "pnpm",
tailwindcss: {},
plugins: ["@umijs/plugins/dist/tailwindcss"],
});
npmClient: 'pnpm',
tailwindcss: {},
plugins: ['@umijs/plugins/dist/tailwindcss'],
})
7 changes: 5 additions & 2 deletions admin-views/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
"start": "npm run dev"
},
"dependencies": {
"@iconify/react": "^4.1.1",
"ahooks": "^3.7.8",
"antd": "^5.8.6",
"umi": "^4.0.79"
},
"devDependencies": {
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"typescript": "^5.2.2",
"@umijs/plugins": "^4.0.79",
"tailwindcss": "^3"
"tailwindcss": "^3",
"typescript": "^5.2.2"
}
}
Loading

0 comments on commit 2d94e76

Please sign in to comment.