I have an admin template that I wan to use using Blazor. I have placed all the JavaScript and jQuery UI and CSS on the _host.chtml file. I then sliced up the template into layouts like navigation, headers, and footers.
After loading a dashboard page, all bootstrap js functionality like collapsible menu, close button dialog, does not work.
However, when I tried to click an href link within a page then click the back button, the JavaScript functionality works.
Do you have any ideas why it's like that? How can we load all the jQuery UI to work within the CSS on component and layout loads?
I have tried JSinterop but it's more of calling a JavaScript function. It won't work if you have a bunch of jQuery UIs and bootstrap JavaScript that is tied up to CSS.