StackExchange.Stacks.Razor 0.1.0-beta

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
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-beta
NuGet\Install-Package StackExchange.Stacks.Razor -Version 0.1.0-beta
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-beta" />
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-beta
#r "nuget: StackExchange.Stacks.Razor, 0.1.0-beta"
#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-beta&prerelease

// Install StackExchange.Stacks.Razor as a Cake Tool
#tool nuget:?package=StackExchange.Stacks.Razor&version=0.1.0-beta&prerelease

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:

dotnet watch run --project ./Demo/Demo.csproj
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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