Skip to main content
.NETStandard2.0

Templates for Fabulous.Avalonia

Published
Dec 27, 2024
1y ago
Total Downloads
38.9K
38,907

Install

dotnet add package Fabulous.Avalonia.Templates --version 3.0.0-pre8
ProductVersions
.NET Standard
netstandard2.0

README

Templates for Fabulous.Avalonia

Fabulous.Avalonia brings the great development experience of Fabulous to Avalonia, allowing you to take advantage of the latest cross-platform UI framework from Microsoft with a tailored declarative UI DSL and clean architecture.

Deploy to any platform supported by Avalonia, such as Android, iOS, macOS, Windows, Linux and more!

How to use the templates

Using the dotnet CLI, install the templates:

dotnet new install Fabulous.Avalonia.Templates

Then, you will be able to create new Fabulous.Avalonia projects with dotnet new:

Single Project

Single project takes the platform-specific development experiences and abstracts them into a single shared project that can target Android, iOS, Desktop.

dotnet new fabulous-avalonia -n MyApp
  • MyApp
    • Platform
      • Android
      • iOS
      • Desktop

Note: Browser is not supported in single project template.

Multi Project

Multi project takes the platform-specific development and abstracts them into a multiple projects that can target Android, iOS, Desktop, Browser.

dotnet new fabulous-avalonia-multi -n MyApp
  • MyApp
    • MyApp
    • MyApp.Android
    • MyApp.iOS
    • MyApp.Desktop

Note: Browser is not supported in multi project template.

Documentation

Documentation can be found at https://docs.fabulous.dev/v2/avalonia

Changes from Previous Version

No structural changes between v3.0.0-pre7 and v3.0.0-pre8.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.