Skip to content

Commit

Permalink
hotfix for doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vnbaaij committed Dec 15, 2023
1 parent dc49fbf commit 2df9ea1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ As mentioned, we wrap the **Fluent UI Web Components** which are implemented in
When using **SSR (Static Server Rendering)**, you will need to include the web components script in your `App.razor`. As there is no Blazor script being loaded/used, our script will also not get loaded.

```html
<script src="_content/Microsoft.FluentUI.AspNetCore.Components/js/web-components-v2.5.16.min.js" type="module" async></script>
<script src="_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lib.module.js" type="module" async></script>
```
If you add interactivity later, the Blazor script will kick in and try to load the web component script again but JavaScript will handle that gracefully by design.

Expand Down
2 changes: 1 addition & 1 deletion examples/Demo/Shared/Pages/Home/Home.razor
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

In this situation, include the following in your App.razor:
</p>
<CodeSnippet>&lt;script src="_content/Microsoft.FluentUI.AspNetCore.Components/js/web-components-v2.5.16.min.js" type="module" async&gt;&lt;/script&gt;</CodeSnippet>
<CodeSnippet>&lt;script src="_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lib.module.js" type="module" async&gt;&lt;/script&gt;</CodeSnippet>
<p>
If you later add interactivity, the Blazor script will kick in and load the web component script again but JavaScript will
handle that gracefully by design.
Expand Down
2 changes: 1 addition & 1 deletion examples/Demo/Shared/wwwroot/docs/CodeSetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ As mentioned, we wrap the **Fluent UI Web Components** which are implemented in
When using **SSR (Static Server Rendering)**, you will need to include the web components script in your `App.razor`. As there is no Blazor script being loaded/used, our script will also not get loaded.

```html
<script src="_content/Microsoft.FluentUI.AspNetCore.Components/js/web-components-v2.5.16.min.js" type="module" async></script>
<script src="_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lib.module.js" type="module" async></script>
```
If you would later add interactivity, the Blazor script will kick in and try to load the web component script again but JavaScript will handle that gracefully by design.

Expand Down

0 comments on commit 2df9ea1

Please sign in to comment.