C
C#4w ago
topson

CoreUI Integration problems

I'm trying to integrate coreui admin template into my blazor app. Everything works as intended except the theme change. CoreUI has two themes: light and dark. The change works when the page reloads, but when the page changes without reload it just doesnt remember the selected theme. If you choose let's say dark theme, and click on the settings link which is "#" it switches to light theme. Im banging my head for the past two days trying to figure out why. I figured if i use blazor.server.js instead of blazor.web.js it works (i dont know why tho, both are SSR(?)). Anyway I'll leave a minimal example repo: https://github.com/stopalovic1/BlazorTest Any help would be greatly appreciated.
GitHub
GitHub - stopalovic1/BlazorTest
Contribute to stopalovic1/BlazorTest development by creating an account on GitHub.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?