refactor(css): refactored windicss to tailwindcss

This commit is contained in:
Vben
2021-06-20 21:36:52 +08:00
parent e8d6f8851e
commit 893f3c79e7
17 changed files with 3075 additions and 1425 deletions

View File

@@ -27,6 +27,7 @@ export interface Emitter {
emit<T = any>(type: EventType, event?: T): void;
emit(type: '*', event?: any): void;
clear(): void;
}
/**
@@ -88,5 +89,12 @@ export default function mitt(all?: EventHandlerMap): Emitter {
handler(type, evt);
});
},
/**
* Clear all
*/
clear() {
this.all.clear();
},
};
}