-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazor bundling and resources #10
Comments
Thank you for reaching out. Yes, there are indications on how this will work, and we will wait for them to release the code, so we can actually play with it, and perhaps for them to ship some docs. This is definitely on our radar, and we will document it as soon as it gets implemented in the actual codebase (after Preview 6). |
The JS Interop file will be included as an asset from our package for the upcoming 1.2.0 release. The themes - not yet, as that requires much more work and consideration. For the time being, the themes will keep being served through the CDN listed in the article, and when there is a change or a new way, I will update that article. I will now close this issue through 58ed051, 2243029 and b749b28, though. |
A quick update - we just found some framework issues - purely client-side apps can't work with static assets and asp.net core hosted client apps need additional config 5597ce1. |
Thanks for the update Marin, interesting development. |
Personally, I'm a little disappointed at how uncomfortable it is - enabling the static assets is an explicit step you must make, and it does not work at all for pure client Blazor apps. Let's hope it gets improved through dotnet/aspnetcore#10986 |
The Built-In Themes article mentions that the way Blazor handles bundling and resources is still unclear. However, it looks like Microsoft has now finalized the implementation and closed the relevant issue.
As far as I understood, the documentation on their side is still not up to date so it might make sense to wait a bit instead of relying on all the scattered information in that message chain.
The text was updated successfully, but these errors were encountered: