WebGen is a UI Library. Layout and Design in one. No Custom Toolchain
CC0-1.0 License
A SwiftUI-like Web library
// Create a mod.ts file
import { Label, Body, WebGen } from "https://deno.land/x/webgen/mod.ts";
WebGen();
Body(
Label("Hello World!")
);
// Create a serve.ts file
import { serve } from "https://deno.land/x/esbuild_serve/mod.ts";
serve({
pages: {
"index": "mod.ts",
},
});
deno run -A serve.ts
Done! Have fun! More docs will follow
WebGen is build around the 4 main components: