You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
515 B

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')
// }
// ];
// });
};