Open Basyras opened 8 months ago
👋 Thanks for wanting to do a PR @Basyras ! We suggest that you wait for an answer from @MudBlazor/contribution-team @MudBlazor/core-team . Otherwise we can not guarantee that your PR will be merged. As the library grows, we have to be very strict what PRs we can accept.
I think this would break prerendering/SSR wouldn't it?
Something else to consider is if the user wants to customise the order of these tags, e.g. to ensure their custom CSS/JS is loaded before/after MudBlazor's.
Feature request type
Other
Component name
No response
Is your feature request related to a problem?
I need to initialize MudBlazor dependencies (
MudBlazor.min.css,
MudBlazor.min.js
) in my code 😐Describe the solution you'd like
I would suggest use of JavaScript initializers for linking
MudBlazor.min.css,
MudBlazor.min.js
and other required linking of files. Open to create PR.Have you seen this feature anywhere else?
I am doing micro razor lib for my self and this seems to solve the problem that consumer of MudBlazor must link dependencies them self. Snippet:
Describe alternatives you've considered
Other solution can be use of HeadContent like so (tested just linking css so far):
or for dynamicly loading js modules: with this nuget:
Pull Request
Code of Conduct