gen_ui.toml is the configuration file of the GenUI project, which configures the compiler for specific project information and compiles the underlying and development plugins.
| key | value type | description | 
|---|---|---|
compiler | CompilerConf | Compile basic configuration | 
underlayer | CompileUnderlayer | Compile underlying configuration (dynamic type) | 
plugins | Option<HashMap<String, PathBuf>> | GenUI plugin | 
[compiler]| key | value type | description | 
|---|---|---|
target | Underlayer | Compile the underlying layer | 
logo | bool | Show GenUI Logo | 
log_level | LogLevel | Log level | 
excludes | Excludes | Files and directories that need to be excluded by the compiler | 
[makepad]| key | value type | description | 
|---|---|---|
entry | Option<String> | Entry file name | 
root | RootConf | Entry configuration, including UI entry address and window properties | 
dependencies | Option<Vec<RustDependence>> | Rust dependencies | 
router | Option<PathBuf> | Path of the router.toml | 
wasm | Option<WasmConf> | wasm related configuration (compilation synchronization mode, not supported yet) | 
[makepad.root]| key | value type | description | 
|---|---|---|
path | PathBuf | address of ui root file | 
window | Prop<WindowProps> | the props of window | 
[makepad.dependencies]Here use Option<Vec<RustDependence>>
[makepad.wasm]| key | value type | description | 
|---|---|---|
fresh | bool | need to recompile after each update? | 
port | Option<u16> | port (default is 8010) | 
[plugins]Option<HashMap<String, PathBuf>>: Development plugin entryThis configuration is usually automatically added by the ract add command, unless you need to use a local plugin developed by yourself. Its writing method is very uniform, pointing to the directory where the plugin's token.toml is located
plugin_name = ".plugins/plugin_name"