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,353 | 12/7/2023 |
2.4.1 | 1,302 | 11/26/2023 |
2.4.0 | 1,052 | 11/22/2023 |
2.3.0 | 1,674 | 6/30/2023 |
2.2.0 | 2,080 | 1/24/2023 |
2.2.0-preview.1 | 110 | 11/17/2022 |
2.1.4 | 1,365 | 1/14/2023 |
2.1.3 | 1,568 | 1/4/2023 |
2.1.2 | 1,265 | 1/4/2023 |
2.1.1 | 1,481 | 1/4/2023 |
2.1.0 | 1,606 | 11/9/2022 |
2.1.0-preview.7 | 135 | 10/20/2022 |
2.1.0-preview.5 | 106 | 10/12/2022 |
2.1.0-preview.4 | 119 | 10/11/2022 |
2.1.0-preview.3 | 118 | 10/3/2022 |
2.1.0-preview.2 | 119 | 9/2/2022 |
2.1.0-preview.1 | 124 | 8/15/2022 |
2.0.10 | 1,412 | 10/20/2022 |
2.0.9 | 1,474 | 10/11/2022 |
2.0.8 | 1,507 | 10/3/2022 |
2.0.7 | 1,471 | 8/11/2022 |
2.0.6 | 1,475 | 7/18/2022 |
2.0.5 | 1,411 | 7/11/2022 |
2.0.4 | 1,538 | 6/27/2022 |
2.0.3 | 1,456 | 6/10/2022 |
2.0.2 | 1,586 | 6/9/2022 |
2.0.1 | 1,246 | 6/2/2022 |
2.0.0 | 1,632 | 6/1/2022 |
2.0.0-preview.11 | 131 | 5/31/2022 |
2.0.0-preview.10 | 116 | 5/30/2022 |
2.0.0-preview.9 | 117 | 5/25/2022 |
2.0.0-preview.8 | 114 | 5/24/2022 |
2.0.0-preview.7 | 125 | 5/23/2022 |
2.0.0-preview.6 | 139 | 5/16/2022 |
2.0.0-preview.5 | 134 | 5/15/2022 |
2.0.0-preview.4 | 129 | 5/5/2022 |
2.0.0-preview.3 | 143 | 4/19/2022 |
2.0.0-preview.2 | 147 | 4/1/2022 |
2.0.0-preview.1 | 130 | 3/30/2022 |
1.1.0 | 4,465 | 5/7/2021 |
1.0.1 | 1,416 | 4/9/2021 |
1.0.0 | 1,508 | 4/1/2021 |
0.70.0-nightly9 | 1,213 | 3/26/2021 |
0.70.0-nightly8 | 1,304 | 3/26/2021 |
0.70.0-nightly7 | 1,299 | 3/6/2021 |
0.70.0-nightly6 | 1,173 | 3/6/2021 |
0.70.0-nightly5 | 1,359 | 3/6/2021 |
0.70.0-nightly4 | 1,510 | 3/6/2021 |
0.70.0-nightly3 | 1,301 | 3/6/2021 |
0.70.0-nightly2 | 1,429 | 2/7/2021 |
0.70.0-nightly1 | 1,222 | 1/22/2021 |
0.61.0 | 1,814 | 1/17/2021 |
0.61.0-preview1 | 1,335 | 1/15/2021 |
0.60.0 | 1,797 | 11/25/2020 |
0.60.0-preview4 | 1,302 | 11/20/2020 |
0.60.0-preview3 | 1,474 | 11/11/2020 |
0.60.0-preview2 | 1,479 | 10/26/2020 |
0.60.0-preview1 | 1,418 | 10/1/2020 |
0.57.0 | 2,128 | 8/20/2020 |
0.56.0 | 1,790 | 8/3/2020 |
0.55.0 | 1,698 | 7/23/2020 |
0.55.0-preview6 | 1,329 | 7/15/2020 |
0.55.0-preview5 | 1,346 | 6/26/2020 |
0.55.0-preview4 | 1,145 | 6/23/2020 |
0.55.0-preview3 | 1,388 | 5/21/2020 |
0.55.0-preview2 | 1,369 | 5/19/2020 |
0.55.0-preview1 | 1,255 | 5/5/2020 |
0.54.2 | 1,778 | 6/26/2020 |
0.54.1 | 1,943 | 5/19/2020 |
0.54.0 | 1,546 | 5/4/2020 |
0.53.2 | 1,949 | 4/23/2020 |
0.53.1 | 1,609 | 4/22/2020 |
0.53.0 | 1,602 | 4/17/2020 |
0.52.0 | 1,887 | 2/20/2020 |
0.51.0 | 1,961 | 12/4/2019 |
0.50.3 | 1,701 | 11/9/2019 |
0.50.2 | 1,815 | 11/6/2019 |
0.50.1 | 1,682 | 11/5/2019 |
0.50.0 | 1,844 | 11/4/2019 |
0.50.0-alpha.7 | 284 | 10/26/2019 |
0.50.0-alpha.6 | 296 | 10/26/2019 |
0.50.0-alpha.5 | 287 | 10/17/2019 |
0.50.0-alpha.4 | 307 | 10/13/2019 |
0.50.0-alpha.3 | 295 | 10/9/2019 |
0.50.0-alpha.2 | 288 | 10/4/2019 |
0.50.0-alpha | 1,481 | 10/3/2019 |
0.43.0 | 1,815 | 10/24/2019 |
0.42.0 | 1,961 | 9/19/2019 |
0.41.1 | 1,908 | 7/29/2019 |
0.41.0 | 1,830 | 7/11/2019 |
0.40.4 | 1,853 | 7/7/2019 |
0.40.3 | 1,725 | 7/7/2019 |