Modulight.Modules.Client.RazorComponents 0.0.7-preview.8

This is a prerelease version of Modulight.Modules.Client.RazorComponents.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Modulight.Modules.Client.RazorComponents --version 0.0.7-preview.8                
NuGet\Install-Package Modulight.Modules.Client.RazorComponents -Version 0.0.7-preview.8                
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-preview.8" />                
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-preview.8                
#r "nuget: Modulight.Modules.Client.RazorComponents, 0.0.7-preview.8"                
#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-preview.8&prerelease

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

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 6,841 5/31/2021
0.0.7-preview.8 285 5/30/2021
0.0.6 1,746 5/30/2021
0.0.5 2,194 4/3/2021
0.0.5-preview.18 147 3/14/2021
0.0.5-preview.13 242 3/12/2021
0.0.5-preview.12 160 3/12/2021
0.0.5-preview.11 168 3/10/2021
0.0.5-preview.10 189 3/10/2021
0.0.5-preview.4 166 3/4/2021
0.0.5-preview.2 190 3/4/2021
0.0.4 1,473 3/4/2021
0.0.4-preview.40 557 2/22/2021
0.0.4-preview.30 286 2/21/2021
0.0.4-preview.28 180 2/20/2021
0.0.4-preview.25 292 2/20/2021
0.0.4-preview.6 187 2/6/2021
0.0.3 633 2/5/2021
0.0.3-preview.39 160 2/3/2021
0.0.3-preview.38 153 2/1/2021
0.0.3-preview.37 166 1/31/2021
0.0.2 641 1/29/2021
0.0.2-preview.36 218 1/17/2021
0.0.2-preview.34 179 1/16/2021
0.0.1-preview.30 173 1/13/2021
0.0.1-preview.29 197 1/13/2021
0.0.1-preview.28 164 1/12/2021
0.0.1-preview.25 162 1/11/2021