Modulight.Modules.Client.RazorComponents 0.0.7

dotnet add package Modulight.Modules.Client.RazorComponents --version 0.0.7
NuGet\Install-Package Modulight.Modules.Client.RazorComponents -Version 0.0.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Modulight.Modules.Client.RazorComponents" Version="0.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Modulight.Modules.Client.RazorComponents --version 0.0.7
#r "nuget: Modulight.Modules.Client.RazorComponents, 0.0.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Modulight.Modules.Client.RazorComponents as a Cake Addin
#addin nuget:?package=Modulight.Modules.Client.RazorComponents&version=0.0.7

// Install Modulight.Modules.Client.RazorComponents as a Cake Tool
#tool nuget:?package=Modulight.Modules.Client.RazorComponents&version=0.0.7

Modulight.Modules.Client.RazorComponents

alternate text is missing from this package README image

Modulight provides a place to unify resources, and it can be used to make Razor component library easy to use and manage. The user needn't to take care of related services and <script> or <link> tags in index.html.

// in Startup: void ConfigureServices(ISeviceCollection services)

services.AddModules(builder => {
    builder.UseRazorComponentClientModules().AddModule<FooModule>();
});

For razor components, add ResourceDeclare component to App.razor to load UI resources.

<Modulight.Modules.Client.RazorComponents.UI.ResourceDeclare />

This component will find all resources and global components defined in modules, and render HTML tags for them.

You can also use the following codes to load resources manually (needs IJSRuntime).

// WebAssemblyHost host;
await host.Services.GetRazorComponentClientModuleCollection().LoadResources();
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Modulight.Modules.Client.RazorComponents:

Package Downloads
StardustDL.RazorComponents.AntDesigns

Wrapper for AntDesign Blazor at https://github.com/ant-design-blazor/ant-design-blazor.

StardustDL.RazorComponents.Vditors

Wrapper for Vditor Blazor at https://b3log.org/vditor/ .

StardustDL.RazorComponents.MaterialDesignIcons

Material Design Icons for Blazor, Razor Pages and so on from https://materialdesignicons.com/ .

StardustDL.RazorComponents.Markdown

Razor component for Markdown rendering.

StardustDL.RazorComponents.Bootstraps

Bootstrap for Blazor, Razor Pages and so on from https://getbootstrap.com/.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.7 5,988 5/31/2021
0.0.7-preview.8 274 5/30/2021
0.0.6 1,655 5/30/2021
0.0.5 2,072 4/3/2021
0.0.5-preview.18 137 3/14/2021
0.0.5-preview.13 230 3/12/2021
0.0.5-preview.12 144 3/12/2021
0.0.5-preview.11 151 3/10/2021
0.0.5-preview.10 177 3/10/2021
0.0.5-preview.4 158 3/4/2021
0.0.5-preview.2 178 3/4/2021
0.0.4 1,412 3/4/2021
0.0.4-preview.40 521 2/22/2021
0.0.4-preview.30 275 2/21/2021
0.0.4-preview.28 169 2/20/2021
0.0.4-preview.25 281 2/20/2021
0.0.4-preview.6 171 2/6/2021
0.0.3 599 2/5/2021
0.0.3-preview.39 149 2/3/2021
0.0.3-preview.38 142 2/1/2021
0.0.3-preview.37 156 1/31/2021
0.0.2 606 1/29/2021
0.0.2-preview.36 207 1/17/2021
0.0.2-preview.34 168 1/16/2021
0.0.1-preview.30 162 1/13/2021
0.0.1-preview.29 181 1/13/2021
0.0.1-preview.28 153 1/12/2021
0.0.1-preview.25 152 1/11/2021