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
<PackageReference Include="Modulight.Modules.Client.RazorComponents" Version="0.0.7" />
paket add Modulight.Modules.Client.RazorComponents --version 0.0.7
#r "nuget: Modulight.Modules.Client.RazorComponents, 0.0.7"
// 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
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 | Versions 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. |
-
net5.0
- Microsoft.AspNetCore.Components.WebAssembly (>= 5.0.6)
- Modulight.Modules.Core (>= 0.0.7)
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,959 | 5/31/2021 |
0.0.7-preview.8 | 285 | 5/30/2021 |
0.0.6 | 1,750 | 5/30/2021 |
0.0.5 | 2,198 | 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 | 161 | 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 | 168 | 3/4/2021 |
0.0.5-preview.2 | 190 | 3/4/2021 |
0.0.4 | 1,478 | 3/4/2021 |
0.0.4-preview.40 | 558 | 2/22/2021 |
0.0.4-preview.30 | 287 | 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 | 637 | 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 | 645 | 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 |