feat: 脚手架基本ok

This commit is contained in:
volare
2022-11-22 00:24:06 +08:00
parent c1981f2951
commit 22b9b2878d
29 changed files with 4001 additions and 9 deletions

29
bin/types.ts Normal file
View File

@@ -0,0 +1,29 @@
export interface PakeCliOptions {
/** 应用名称 */
name?: string;
/** 应用icon */
icon: string;
/** 应用窗口宽度,默认 1280px */
width: number;
/** 应用窗口高度,默认 800px */
height: number;
/** 是否可以拖动默认true */
resizable: boolean;
/** 是否可以全屏,默认 false */
fullscreen: boolean;
/** 是否开启沉浸式头部,默认为 false 不开启 ƒ*/
transparent: boolean;
/** 调试模式,会输出更多日志 */
debug: boolean;
}
export interface PakeAppOptions extends PakeCliOptions {
identifier: string;
}