Skip to content

Commit 5c93615

Browse files
authored
Update README.md
1 parent 33fd244 commit 5c93615

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,21 @@
4848

4949
## Installation
5050
This extension uses MudBlazor features (need to set up MudBlazor if you didn't before), so only need to add this line described below:<br /><br />
51-
Add the following to your HTML head section, it's either `index.html` or `_Layout.cshtml`/`_Host.cshtml` depending on whether you're running Server-Side or WASM.
51+
Add the following to your HTML **head** section, it's either `index.html` or `_Layout.cshtml`/`_Host.cshtml` depending on whether you're running Server-Side or WASM.
5252
```html
5353
<link href="_content/CodeBeam.MudExtensions/MudExtensions.min.css" rel="stylesheet" />
5454
```
5555

56+
Add the following to your HTML **body** section
57+
```html
58+
<script src="_content/CodeBeam.MudExtensions/MudExtensions.js"></script>
59+
```
60+
61+
Add the extension services into program.cs
62+
```razor
63+
builder.Services.UseMudExtensions();
64+
```
65+
5666
Adding namespace to `_Imports.razor` is not obligatory, but useful.
5767
```razor
5868
@using MudExtensions

0 commit comments

Comments
 (0)