diff --git a/RBLNews.Maui/MauiProgram.cs b/RBLNews.Maui/MauiProgram.cs index ddc3fa6..41ec4ae 100644 --- a/RBLNews.Maui/MauiProgram.cs +++ b/RBLNews.Maui/MauiProgram.cs @@ -15,9 +15,10 @@ namespace RBLNews.Maui }); builder.Services.AddMauiBlazorWebView(); + builder.Services.AddAntDesign(); #if DEBUG - builder.Services.AddBlazorWebViewDeveloperTools(); + builder.Services.AddBlazorWebViewDeveloperTools(); builder.Logging.AddDebug(); #endif diff --git a/RBLNews.Shared/Components/Pages/Home.razor b/RBLNews.Shared/Components/Pages/Home.razor index 16dac31..8d46994 100644 --- a/RBLNews.Shared/Components/Pages/Home.razor +++ b/RBLNews.Shared/Components/Pages/Home.razor @@ -3,3 +3,5 @@

Hello, world!

Welcome to your new app. + + \ No newline at end of file diff --git a/RBLNews.Shared/Components/Routes.razor b/RBLNews.Shared/Components/Routes.razor index 4baf985..5c460c7 100644 --- a/RBLNews.Shared/Components/Routes.razor +++ b/RBLNews.Shared/Components/Routes.razor @@ -3,4 +3,4 @@ - + \ No newline at end of file diff --git a/RBLNews.Shared/RBLNews.Shared.csproj b/RBLNews.Shared/RBLNews.Shared.csproj index cfa77dc..c5d1461 100644 --- a/RBLNews.Shared/RBLNews.Shared.csproj +++ b/RBLNews.Shared/RBLNews.Shared.csproj @@ -12,6 +12,7 @@ + diff --git a/RBLNews.Shared/_Imports.razor b/RBLNews.Shared/_Imports.razor index 7728512..954960d 100644 --- a/RBLNews.Shared/_Imports.razor +++ b/RBLNews.Shared/_Imports.razor @@ -1 +1,4 @@ -@using Microsoft.AspNetCore.Components.Web +@* ANT CSS DESIGN IMPORT -------------------- *@ +@using AntDesign + +@using Microsoft.AspNetCore.Components.Web diff --git a/RBLNews.Web/Components/App.razor b/RBLNews.Web/Components/App.razor index 47303d8..f3beb30 100644 --- a/RBLNews.Web/Components/App.razor +++ b/RBLNews.Web/Components/App.razor @@ -13,6 +13,7 @@ + diff --git a/RBLNews.Web/Components/_Imports.razor b/RBLNews.Web/Components/_Imports.razor index 1e484f4..1e752a2 100644 --- a/RBLNews.Web/Components/_Imports.razor +++ b/RBLNews.Web/Components/_Imports.razor @@ -2,6 +2,9 @@ @using RBLNews.Shared @using RBLNews.Shared.Components +@* ANT CSS DESIGN IMPORT -------------------- *@ +@using AntDesign + @* DEFAULT IMPORTS -------------------------- *@ @using System.Net.Http @using System.Net.Http.Json diff --git a/RBLNews.Web/Program.cs b/RBLNews.Web/Program.cs index c5f0c5f..7fafb41 100644 --- a/RBLNews.Web/Program.cs +++ b/RBLNews.Web/Program.cs @@ -5,6 +5,7 @@ var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddRazorComponents() .AddInteractiveServerComponents(); +builder.Services.AddAntDesign(); var app = builder.Build();