feat: dashboard

This commit is contained in:
jialin
2024-05-22 09:29:30 +08:00
parent a416bc7eab
commit 46a9e6a931
21 changed files with 1522 additions and 53 deletions
+24
View File
@@ -0,0 +1,24 @@
import { IApi } from '@umijs/max';
export default (api: IApi) => {
api.modifyHTML(($) => {
return $;
});
api.onStart(() => {
console.log('pllugins=========start');
});
// api.modifyConfig((memo: any) => {
// // some beautiful code
// console.log('pllugins=========memo', memo);
// return memo;
// });
// api.addLayouts(() => {
// return [
// {
// id: 'layout',
// file: require.resolve('./src/global-layouts/index.tsx')
// }
// ];
// });
};