Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes committed May 5, 2024
1 parent ffa1380 commit 3824846
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![NuGet](https://img.shields.io/nuget/v/NXUI.svg)](https://www.nuget.org/packages/NXUI)
[![NuGet](https://img.shields.io/nuget/dt/NXUI.svg)](https://www.nuget.org/packages/NXUI)

Creating minimal [Avalonia](https://avaloniaui.net/) next generation (NXUI, next-gen UI) application using C# 10 and .NET 6 and 7
Creating minimal [Avalonia](https://avaloniaui.net/) next generation (NXUI, next-gen UI) application using C# 10 and .NET 6, 7 or 8

https://user-images.githubusercontent.com/2297442/132313187-32f18c4b-e894-46db-9a9d-9de02f30835e.mp4

Expand All @@ -15,14 +15,21 @@ https://user-images.githubusercontent.com/2297442/132313187-32f18c4b-e894-46db-9
<PackageReference Include="NXUI" Version="11.0.10" />
```

or for F# support:

```xml
<PackageReference Include="NXUI.FSharp" Version="11.0.10" />
```

Additionally, depending on the application type:

### Desktop

For Desktop extensions:
```xml
<PackageReference Include="NXUI.Desktop" Version="11.0.10" />
```
or
or using plain Avalonia:
```xml
<PackageReference Include="Avalonia.Desktop" Version="11.0.10" />
```
Expand Down Expand Up @@ -74,6 +81,15 @@ AppBuilder.Configure<Application>()
.StartWithClassicDesktopLifetime(Build, args);
```

Minimalistic Desktop app:
```csharp
Run(
() => Window().Content(Label().Content("NXUI")),
"NXUI",
args,
ThemeVariant.Dark);
```

# Generate

C#
Expand Down

0 comments on commit 3824846

Please sign in to comment.