You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update README.md with new components and enhanced examples (#65)
- Added documentation for MudStaticRadioGroup and MudStaticRadio.
- Updated MudStaticTextField example to include AdornmentToggledIcon.
- Improved showPassword script example in README and source code using WeakMap for better robustness.
- Enhanced "Getting Started" section with service registration and JS initialization details.
- Fixed minor typos and updated the "Why" section.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Anu6is <[email protected]>
> Note: MudBlazor should already be setup for your application
191
+
> **MudBlazor** should already be setup for your application.
192
+
193
+
### 1. Register Services
194
+
Ensure MudBlazor services are registered in your `Program.cs`:
195
+
```cs
196
+
builder.Services.AddMudServices();
197
+
```
198
+
199
+
### 2. Automatic Initialization
200
+
The library utilizes a [Blazor JS initializer](https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/static-assets?view=aspnetcore-8.0#javascript-initializers) to automatically load the necessary client-side logic. No manual script tags are required for the core functionality in Blazor Web Apps.
201
+
202
+
### 3. Usage
203
+
You can now start using the components in your Static SSR pages. For example, in an Identity login page:
0 commit comments