Cheguei na parte do curso em que começamos a utilizar o MudBlazor. Depois de fazer as modificações relacionadas a utilização do MudBlazor, a página não aplica a estilização.
blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
at https://localhost:7256/_framework/blazor.webassembly.js:1:368
at Array.forEach (<anonymous>)
at l.findFunction (https://localhost:7256/_framework/blazor.webassembly.js:1:336)
at w (https://localhost:7256/_framework/blazor.webassembly.js:1:5079)
at https://localhost:7256/_framework/blazor.webassembly.js:1:2872
at new Promise (<anonymous>)
at b.beginInvokeJSFromDotNet (https://localhost:7256/_framework/blazor.webassembly.js:1:2835)
at Object.vn [as invokeJSJson] (https://localhost:7256/_framework/blazor.webassembly.js:1:58849)
at https://localhost:7256/_framework/dotnet.runtime.8.0.4.b7q27uat4w.js:3:178210
at xl (https://localhost:7256/_framework/dotnet.runtime.8.0.4.b7q27uat4w.js:3:179044)
Microsoft.JSInterop.JSException: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
Error: Could not find 'mudElementRef.getBoundingClientRect' ('mudElementRef' was undefined).
at https://localhost:7256/_framework/blazor.webassembly.js:1:368
at Array.forEach (<anonymous>)
at l.findFunction (https://localhost:7256/_framework/blazor.webassembly.js:1:336)
at w (https://localhost:7256/_framework/blazor.webassembly.js:1:5079)
at https://localhost:7256/_framework/blazor.webassembly.js:1:2872
at new Promise (<anonymous>)
at b.beginInvokeJSFromDotNet (https://localhost:7256/_framework/blazor.webassembly.js:1:2835)
at Object.vn [as invokeJSJson] (https://localhost:7256/_framework/blazor.webassembly.js:1:58849)
at https://localhost:7256/_framework/dotnet.runtime.8.0.4.b7q27uat4w.js:3:178210
at xl (https://localhost:7256/_framework/dotnet.runtime.8.0.4.b7q27uat4w.js:3:179044)
at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__16`1[[MudBlazor.Interop.BoundingClientRect, MudBlazor, Version=6.19.1.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at MudBlazor.MudDrawer.UpdateHeight()
at MudBlazor.MudDrawer.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
Este é o erro que aparece no Console do navegador. Identifiquei que a pasta content/MudBlazor não esta sendo criada no cliente e nem na pasta bin/Debug/net8.0/wwwroot. Já tentei algumas coisas que achei na internet em relação a isso, mas nenhuma deu certo.