StoreInitializer not working in Balzor .net 8
dbrighton opened this issue · 4 comments
dbrighton commented
I'm using with Blazor Server-Side (.net 8). Not getting any exceptions, but it's not working either. I think the problem is with the new App.razor () component in .net 8.
here is my App.razor
<script src="_content/MatBlazor/dist/matBlazor.js"></script> <script src="_framework/blazor.web.js"></script> <script src="_content/Fluxor.Blazor.Web/scripts/index.js"></script>stagep commented
Do you have
<Fluxor.Blazor.Web.StoreInitializer />
in your Routes.razor?
Rhywden commented
I'm also confused why you're talking about "Server-side" but are using Javascript?
ChuckBryan commented
Do you have
<Fluxor.Blazor.Web.StoreInitializer />
in your Routes.razor?
This helped me with my example. I was following the Counter example in the docs which said to put that component in the App.razor. Thanks!