Templates for Fabulous.Avalonia
Install
| Product | Versions |
|---|---|
| .NET Standard |
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
- Platform
Note: Browser is not supported in single project template.
Note: this template's TargetFrameworks include net10.0-android (and net10.0-ios on non-Linux hosts), so it requires the corresponding android/ios .NET workloads to be installed. If you only need a desktop app, use the desktop-only template below instead.
Desktop Project
Desktop project targets only net10.0 and requires no mobile workloads. Use this if you only need a desktop app.
dotnet new fabulous-avalonia-desktop -n MyApp
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://fabulous-dev.github.io/Fabulous/docs/tutorials/avalonia/ and https://fabulous-dev.github.io/Fabulous/docs/avalonia/get-started/.
Changes from Previous Version
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.