❔ Use Javascript in Blazor Server App

Hey, I just started developing Web Apps using Blazor but im current facing an issue
I have a Javascript file that controls my navigation bar (mobile responsiveness, animations etc) and I'd like to invoke it when the page loads (I've put it into the navbar in MainLayout.razor) but apparently it seems like the <script> tag won't work cause it "cant update dynamically", it's important that the whole JS file loads and not just the functions, because otherwise it would break some stuff
Big thanks in advance
Was this page helpful?