SprightBlazor 1.0.1
dotnet add package SprightBlazor --version 1.0.1
NuGet\Install-Package SprightBlazor -Version 1.0.1
<PackageReference Include="SprightBlazor" Version="1.0.1" />
paket add SprightBlazor --version 1.0.1
#r "nuget: SprightBlazor, 1.0.1"
// Install SprightBlazor as a Cake Addin
#addin nuget:?package=SprightBlazor&version=1.0.1
// Install SprightBlazor as a Cake Tool
#tool nuget:?package=SprightBlazor&version=1.0.1
Spright Blazor
Spright Blazor generally works equivalently to Nimble Blazor, so refer to the Nimble Blazor README.md. Any Spright-specific differences are listed below.
Getting Started
Any project using SprightBlazor components will typically also be using NimbleBlazor components (e.g. NimbleThemeProvider
if nothing else). SprightBlazor is not a superset of NimbleBlazor, but the spright-components
bundle is a superset of the nimble-components
bundle. Follow the directions below to avoid issues:
Add references to both the SprightBlazor and NimbleBlazor NuGet packages in your project
Include only the Spright all-components bundle in
_Layout.cshtml
(for BlazorServer) orwwwroot/index.html
(for Blazor WebAssembly):<body> ... <script src="_content/SprightBlazor/spright-components/all-components-bundle.min.js"></script> </body>
In a Blazor Hybrid app
Include both
SprightBlazor.HybridWorkaround.js
andNimbleBlazor.HybridWorkaround.js
inwwwroot/index.html
:</body> ... <script src="_framework/blazor.webview.js"></script> <script src="_content/SprightBlazor/spright-components/all-components-bundle.min.js"></script> <script src="_content/NimbleBlazor/NimbleBlazor.HybridWorkaround.js"></script> <script src="_content/SprightBlazor/SprightBlazor.HybridWorkaround.js"></script> </body>
Contributing
Follow the instructions in CONTRIBUTING.md to modify this library.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.31)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.