The current Blazor implementation of the theme is in a single project which forces me to use the starter kit project for new projects and cluttering my code with your code.
You can create a Nuget package or seperate assembly that can be referenced from new projects. Then I don't need to have the themeconfig and all the javascript and ccs in my project.
I can just say for example:
services.AddMetronicTheme();
That would be a massive benefit for using the theme.
Hi,
Thank you for your suggestion. We will differently check this further and consider it.
Nuget package would be not suitable since we need to verify user's license code.
Could you please elaborate on the separate assembly option?
Regards.
You can create something called a "Razor Class Library" and build all your components in there. Then you have the option to either publish that library as a Nuget or you can just directly reference the project, in your case you dont need to publish the Nuget.
From within your assembly you can reference your "internal assets" like so:
<img src="_content/MyAssemblyName/images/blazor_logo.jpg">
Hi,
We will consider your suggestions in a future update for sure.
Our current starter kit solves the layout rendering and page generation.
At the moment we are not focusing on components instead, we are going to provide a fully functional authentication and user management module with working CRUD.
Regards.