StackExchange.Stacks.Razor
0.1.0-beta2
.NET 6.0
This is a prerelease version of StackExchange.Stacks.Razor.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package StackExchange.Stacks.Razor --version 0.1.0-beta2
NuGet\Install-Package StackExchange.Stacks.Razor -Version 0.1.0-beta2
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="StackExchange.Stacks.Razor" Version="0.1.0-beta2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StackExchange.Stacks.Razor --version 0.1.0-beta2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StackExchange.Stacks.Razor, 0.1.0-beta2"
#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 StackExchange.Stacks.Razor as a Cake Addin
#addin nuget:?package=StackExchange.Stacks.Razor&version=0.1.0-beta2&prerelease
// Install StackExchange.Stacks.Razor as a Cake Tool
#tool nuget:?package=StackExchange.Stacks.Razor&version=0.1.0-beta2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Stacks.Razor
Library for using Stacks components in Razor.
Warning This repo is not to be used in a production context. It is still a work-in-progress. You have been warned.
Usage
dotnet add package StackExchange.Stacks.Razor
Include the service and taghelpers into your project:
// Program.cs
builder.Services.AddStacksComponents();
// _ViewImports.cshtml
@using StackExchange.Stacks.Razor
@using StackExchange.StacksIcons;
@addTagHelper *, StackExchange.Stacks.Razor
@addTagHelper *, StackExchange.Stacks.Razor.Stimulus
Start using the taghelpers in your .cshtml
files:
<s-Button variant="Primary">Click me!</s-Button>
Local development
Launch the demo / docs site:
cd ./Razor.Stacks.Demo
npm i
npm run build:client
npm start
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. |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- StackExchange.StacksIcons (>= 5.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|