By Kelvin Binh
The simple project demonstrates how to implement multiple themes in BlazorWasm app
Usage with careful: The project is in experimental research for BlazorWasm with .NET Core 3.0 SDK
-
Install the latest .NET Core 3.0 SDK release.
-
Build project and all of its dependencies.
dotnet build
-
Or run run source code without any explicit compile or launch commands
dotnet run
-
From browser, open https://localhost:5001
To switch an existed themes (Default
, RainyDay
, Redwood
), simply changing value of activeTheme
from ./wwwroot/sample-data/settings.json
file
{
"activeTheme": "Default"
}