feat: add about page

This commit is contained in:
vben
2024-06-23 20:05:22 +08:00
parent d4f61c283f
commit 199d5506ac
28 changed files with 394 additions and 18 deletions

View File

@@ -28,6 +28,9 @@
},
"./global": {
"types": "./global.d.ts"
},
"./window": {
"types": "./window.d.ts"
}
},
"publishConfig": {

19
packages/types/window.d.ts vendored Normal file
View File

@@ -0,0 +1,19 @@
export {};
declare global {
interface Window {
__VBEN_ADMIN_METADATA__: {
authorEmail: string;
authorName: string;
authorUrl: string;
buildTime: string;
dependencies: Record<string, string>;
description: string;
devDependencies: Record<string, string>;
homepage: string;
license: string;
repositoryUrl: string;
version: string;
};
}
}