Pines.TagHelpers 0.4.1

dotnet add package Pines.TagHelpers --version 0.4.1
NuGet\Install-Package Pines.TagHelpers -Version 0.4.1
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="Pines.TagHelpers" Version="0.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pines.TagHelpers --version 0.4.1
#r "nuget: Pines.TagHelpers, 0.4.1"
#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 Pines.TagHelpers as a Cake Addin
#addin nuget:?package=Pines.TagHelpers&version=0.4.1

// Install Pines.TagHelpers as a Cake Tool
#tool nuget:?package=Pines.TagHelpers&version=0.4.1

Pines.TagHelpers

Logo

NuGet NuGet Discord

Pines.TagHelpers is a collection of ASP.NET Core TagHelpers based on the Pines UI components library using Alpine.js and Tailwind CSS.

Installation

You can install the package via NuGet:

dotnet add package Pines.TagHelpers

To make the Tailwind CSS classes used by Pines.TagHelpers work, you need to add the following file to your project:

https://github.com/AlexZeitler/Pines.TagHelpers/blob/main/src/Pines.Examples/static/tailwind.html

Make sure to include it in the tailwind.config.js content section.

This won't be necessary in the future, as the plan is to include the Tailwind CSS classes in the Pines.TagHelpers package.

Usage

Add Alpine.js and Tailwind CSS to your _Layout.cshtml:

<script src="//unpkg.com/alpinejs" defer></script>

Add the Pines.TagHelpers to your _ViewImports.cshtml:

@addTagHelper *, Pines.TagHelpers

Components

CopyToClipboard

<copy-to-clipboard text="@Model.TextToBeCopied"></copy-to-clipboard>

Preview:

Copy to Clipboard

More details can be found in the Pines.Examples project in this repository.

Want to contribute?

This project is just getting off the ground and could use some help with cleaning things up and refactoring.

If you want to contribute - we'd love it! Just open an issue to work against so you get full credit for your fork. You can open the issue first so we can discuss and you can work your fork as we go along.

If you see a bug, please be so kind as to show how it's failing, and we'll do our best to get it fixed quickly.

Before sending a PR, please create an issue to introduce your idea and have a reference for your PR.

We're using conventional commits, so please use it for your commits as well.

Discussions

If you want to discuss an Pines.TagHelpers issue or PR in more detail, feel free to start a discussion.

You can also join our Discord server to discuss the project.

License

The MIT License (MIT). Please see License File for more information.

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 is compatible.  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 is compatible.  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
0.4.1 167 2/9/2024
0.4.0 80 2/8/2024
0.3.0 81 2/6/2024
0.2.0 64 2/5/2024
0.1.1 70 2/4/2024
0.1.0 67 2/4/2024
0.0.0-alpha.0 42 2/4/2024