A MoonBit UI framework
View[Msg] -> internal ViewSpec -> ElementTree -> LayoutTree -> RenderTree -> DrawCommand -> renderersh scripts/setup-local-deps.sh
sh scripts/check-local-deps.sh
sh scripts/dev-check.shmoon build examples/showcase/web_wasm --target wasm-gc
python3 -m http.server 8080 --bind 127.0.0.1http://127.0.0.1:8080/examples/showcase/web_wasm/index.htmlmoon build examples/markdown_editor/web_wasm --target wasm-gc
python3 -m http.server 8080 --bind 127.0.0.1http://127.0.0.1:8080/examples/markdown_editor/web_wasm/index.htmlmoon build examples/showcase/macos --target nativemoon build examples/showcase/macos_cosmic --target nativemoon build examples/markdown_editor/macos --target native
./_build/native/debug/build/examples/markdown_editor/macos/macos.exesh scripts/package-macos-app.sh \
--package examples/showcase/macos \
--name "MoUI Showcase" \
--bundle-id dev.wzzc.moui.showcase \
--version 0.1.0C:\msys64\usr\bin\pacman.exe -S --needed --noconfirm `
mingw-w64-ucrt-x86_64-gcc `
mingw-w64-ucrt-x86_64-vulkan-loader `
mingw-w64-ucrt-x86_64-vulkan-headers.local_deps\wgpu-native\v27.0.4.0\wgpu-windows-x86_64-gnu-releasehttps://github.com/gfx-rs/wgpu-native/releases/tag/v27.0.4.0$env:PATH = "C:\msys64\ucrt64\bin;$env:PATH"
$env:CC = "x86_64-w64-mingw32-gcc"
$env:CXX = "x86_64-w64-mingw32-g++"
$env:MBT_WGPU_NATIVE_ROOT = "$PWD\.local_deps\wgpu-native\v27.0.4.0\wgpu-windows-x86_64-gnu-release"
moon run examples/showcase/windows --target nativemoon run examples/showcase/windows_cosmic --target nativepowershell -ExecutionPolicy Bypass -File .\scripts\windows\markdown_editor_windows_static.ps1 -BuildOnlypowershell -ExecutionPolicy Bypass -File .\scripts\windows\package_windows_app.ps1 `
-Package examples/showcase/windows `
-AppName MoUIShowcase `
-Version 0.1.0powershell -ExecutionPolicy Bypass -File .\scripts\windows\markdown_editor_windows_static.ps1moon build examples/markdown_editor/windows --target native
.\_build\native\debug\build\examples\markdown_editor\windows\windows.exemoon run examples/markdown_editor/windows --target nativemoon run examples/showcase/linux --target native
moon run examples/showcase/linux_cosmic --target native