Fabulous.XamarinForms.Templates
2.1.2
See the version list below for details.
dotnet new install Fabulous.XamarinForms.Templates::2.1.2
Templates for Fabulous.XamarinForms
Fabulous.XamarinForms brings the great development experience of Fabulous to Xamarin.Forms, allowing you to harvest the vast ecosystem of Xamarin.Forms with a tailored declarative UI DSL and clean architecture.
Deploy to any platform supported by Xamarin.Forms, such as Android, iOS, macOS, Windows, Linux and more!
/// A simple Counter app
type Model =
{ Count: int }
type Msg =
| Increment
| Decrement
let init () =
{ Count = 0 }
let update msg model =
match msg with
| Increment -> { model with Count = model.Count + 1 }
| Decrement -> { model with Count = model.Count - 1 }
let view model =
Application(
ContentPage(
"Counter app",
VStack(spacing = 16.) {
Image(Aspect.AspectFit, "fabulous.png")
Label($"Count is {model.Count}")
Button("Increment", Increment)
Button("Decrement", Decrement)
}
)
)
How to use the templates
Using the dotnet CLI, install the templates:
dotnet new -i Fabulous.XamarinForms.Templates
Then, you will be able to create new Fabulous.XamarinForms projects with dotnet new
:
dotnet new fabulous-xf -n MyApp
If you're using Visual Studio on Windows, prefer the fabulous-xf-vswin
template instead.
dotnet new fabulous-xf-vswin -n MyApp
-
.NETStandard 2.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.4.2 | 4,393 | 12/7/2023 |
2.4.1 | 1,312 | 11/26/2023 |
2.4.0 | 1,060 | 11/22/2023 |
2.3.0 | 1,681 | 6/30/2023 |
2.2.0 | 2,088 | 1/24/2023 |
2.2.0-preview.1 | 115 | 11/17/2022 |
2.1.4 | 1,372 | 1/14/2023 |
2.1.3 | 1,576 | 1/4/2023 |
2.1.2 | 1,272 | 1/4/2023 |
2.1.1 | 1,489 | 1/4/2023 |
2.1.0 | 1,615 | 11/9/2022 |
2.1.0-preview.7 | 140 | 10/20/2022 |
2.1.0-preview.5 | 111 | 10/12/2022 |
2.1.0-preview.4 | 125 | 10/11/2022 |
2.1.0-preview.3 | 125 | 10/3/2022 |
2.1.0-preview.2 | 125 | 9/2/2022 |
2.1.0-preview.1 | 130 | 8/15/2022 |
2.0.10 | 1,424 | 10/20/2022 |
2.0.9 | 1,485 | 10/11/2022 |
2.0.8 | 1,516 | 10/3/2022 |
2.0.7 | 1,480 | 8/11/2022 |
2.0.6 | 1,502 | 7/18/2022 |
2.0.5 | 1,421 | 7/11/2022 |
2.0.4 | 1,547 | 6/27/2022 |
2.0.3 | 1,466 | 6/10/2022 |
2.0.2 | 1,597 | 6/9/2022 |
2.0.1 | 1,255 | 6/2/2022 |
2.0.0 | 1,660 | 6/1/2022 |
2.0.0-preview.11 | 136 | 5/31/2022 |
2.0.0-preview.10 | 123 | 5/30/2022 |
2.0.0-preview.9 | 124 | 5/25/2022 |
2.0.0-preview.8 | 120 | 5/24/2022 |
2.0.0-preview.7 | 131 | 5/23/2022 |
2.0.0-preview.6 | 146 | 5/16/2022 |
2.0.0-preview.5 | 139 | 5/15/2022 |
2.0.0-preview.4 | 135 | 5/5/2022 |
2.0.0-preview.3 | 148 | 4/19/2022 |
2.0.0-preview.2 | 152 | 4/1/2022 |
2.0.0-preview.1 | 136 | 3/30/2022 |
1.1.0 | 4,474 | 5/7/2021 |
1.0.1 | 1,445 | 4/9/2021 |
1.0.0 | 1,535 | 4/1/2021 |
0.70.0-nightly9 | 1,218 | 3/26/2021 |
0.70.0-nightly8 | 1,309 | 3/26/2021 |
0.70.0-nightly7 | 1,305 | 3/6/2021 |
0.70.0-nightly6 | 1,189 | 3/6/2021 |
0.70.0-nightly5 | 1,365 | 3/6/2021 |
0.70.0-nightly4 | 1,516 | 3/6/2021 |
0.70.0-nightly3 | 1,307 | 3/6/2021 |
0.70.0-nightly2 | 1,434 | 2/7/2021 |
0.70.0-nightly1 | 1,227 | 1/22/2021 |
0.61.0 | 1,823 | 1/17/2021 |
0.61.0-preview1 | 1,340 | 1/15/2021 |
0.60.0 | 1,806 | 11/25/2020 |
0.60.0-preview4 | 1,307 | 11/20/2020 |
0.60.0-preview3 | 1,479 | 11/11/2020 |
0.60.0-preview2 | 1,484 | 10/26/2020 |
0.60.0-preview1 | 1,433 | 10/1/2020 |
0.57.0 | 2,156 | 8/20/2020 |
0.56.0 | 1,799 | 8/3/2020 |
0.55.0 | 1,708 | 7/23/2020 |
0.55.0-preview6 | 1,334 | 7/15/2020 |
0.55.0-preview5 | 1,352 | 6/26/2020 |
0.55.0-preview4 | 1,150 | 6/23/2020 |
0.55.0-preview3 | 1,393 | 5/21/2020 |
0.55.0-preview2 | 1,374 | 5/19/2020 |
0.55.0-preview1 | 1,261 | 5/5/2020 |
0.54.2 | 1,786 | 6/26/2020 |
0.54.1 | 1,955 | 5/19/2020 |
0.54.0 | 1,555 | 5/4/2020 |
0.53.2 | 1,958 | 4/23/2020 |
0.53.1 | 1,617 | 4/22/2020 |
0.53.0 | 1,610 | 4/17/2020 |
0.52.0 | 1,896 | 2/20/2020 |
0.51.0 | 1,970 | 12/4/2019 |
0.50.3 | 1,713 | 11/9/2019 |
0.50.2 | 1,824 | 11/6/2019 |
0.50.1 | 1,691 | 11/5/2019 |
0.50.0 | 1,855 | 11/4/2019 |
0.50.0-alpha.7 | 288 | 10/26/2019 |
0.50.0-alpha.6 | 301 | 10/26/2019 |
0.50.0-alpha.5 | 293 | 10/17/2019 |
0.50.0-alpha.4 | 313 | 10/13/2019 |
0.50.0-alpha.3 | 301 | 10/9/2019 |
0.50.0-alpha.2 | 294 | 10/4/2019 |
0.50.0-alpha | 1,486 | 10/3/2019 |
0.43.0 | 1,825 | 10/24/2019 |
0.42.0 | 1,971 | 9/19/2019 |
0.41.1 | 1,917 | 7/29/2019 |
0.41.0 | 1,839 | 7/11/2019 |
0.40.4 | 1,865 | 7/7/2019 |
0.40.3 | 1,733 | 7/7/2019 |