Overview of Fun.Blazor
masterFun.Blazor is a project designed to make Blazor development easier for F# developers. It provides a Domain Specific Language (DSL) using Computation Expressions (CE) to wrap both internal and third-party Blazor libraries.
Key features include:
- F# Blazor Development: Full support for writing Blazor apps in F#.
- CE-style DSL: Uses computation expressions for defining HTML and components.
- Dependency Injection: Supported via
html.inject. - Model Support: Supports the Adaptive model (recommended via
adaptiview/AdaptiveForm) and the Elmish model (viahtml.elmish). - Routing: Implements Giraffe-style routing (
html.route) alongside official Blazor routing. - Type-safe CSS: Integration with
Fun.Cssfor type-safe CSS editing. - HTML Conversion: Tools from
Fun.Dev.Toolscan convert standard HTML into CE-style code.