Step 1: Install the Studs.Blazor package from NuGet
To add STUDS to your Blazor project, install the Studs.Blazor package from NuGet. This package contains the necessary components and styles to get you started.
Ensure that the @studs/styles is applied before any other styles to avoid conflicts. This will provide base styling for your project. The order should be:
Step 6: Use Dialog, Notification, ContextMenu and Tooltip components
Open the MainLayout.razor file and include:
Copy
Ask AI
<StudsComponents />
Set the @rendermode attribute to the render mode of your application e.g.
InteractiveServer, InteractiveWebAssembly or InteractiveAuto. Open the
Program.cs file and include:
Copy
Ask AI
builder.Services.AddStudsComponents();
Assistant
Responses are generated using AI and may contain mistakes.