Skip to content

Commit fca5f4c

Browse files
committed
Update readme
1 parent 3b2c53d commit fca5f4c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,17 @@ The components can be used inside your Razor views.
8484

8585
<Logs />
8686
```
87+
88+
### MudBlazor
89+
90+
There is an issue when using MudBlazor from an app running as a Windows Service. See my question on StackOverflow [here](https://stackoverflow.com/questions/73937004/mudblazor-css-and-js-fails-to-load-when-running-as-windows-service).
91+
92+
So, my work around is to host the MudBlazor CSS and JS files on Azure storage, and load them from there. This means that every time I update the MudBlazor library, I also need to add the new CSS and JS files to the [Azure storage](https://portal.azure.com/#@proreception.com/resource/subscriptions/4c45a333-eb90-43f8-a38a-e8b4b257cfb3/resourceGroups/Production/providers/Microsoft.Storage/storageAccounts/proreception/storagebrowser).
93+
94+
To get the CSS and JS files for a specific version, I create a new app, and then copy the files when the app is running.
95+
96+
````shell
97+
dotnet new install MudBlazor.Templates
98+
mkdir MyApplication
99+
dotnet new mudblazor --name MyApplication -o MyApplication
100+
````

0 commit comments

Comments
 (0)