Blazor.DaisyUI 0.0.5-alpha

This is a prerelease version of Blazor.DaisyUI.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Blazor.DaisyUI --version 0.0.5-alpha
NuGet\Install-Package Blazor.DaisyUI -Version 0.0.5-alpha
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="Blazor.DaisyUI" Version="0.0.5-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Blazor.DaisyUI --version 0.0.5-alpha
#r "nuget: Blazor.DaisyUI, 0.0.5-alpha"
#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 Blazor.DaisyUI as a Cake Addin
#addin nuget:?package=Blazor.DaisyUI&version=0.0.5-alpha&prerelease

// Install Blazor.DaisyUI as a Cake Tool
#tool nuget:?package=Blazor.DaisyUI&version=0.0.5-alpha&prerelease

<a name="readme-top"></a>

Contributors Forks Stargazers Issues MIT License

<br /> <div align="center"> <a href="https://github.com/Denny09310/Blazor.DaisyUI"> <img src="blazor-logo.png" alt="Blazor Logo" width="80" height="80"> <img src="daisy-ui-logo.png" alt="DaisyUI Logo" width="80" height="80"> </a>

<h3 align="center">Blazor.DaysUI</h3>

<p align="center"> This library, initially designed as a Razor Class Library for Blazor components, draws inspiration from the library and integrates TailwindCSS. A unique approach was taken by converting the project into a "dotnet tool" to address challenges arising during the compilation of the NuGet package. Unlike conventional setups, where only ".dll" files are generated, this library ensures the presence of ".razor" files within the source code. This adjustment facilitates TailwindCSS in compiling the essential CSS classes embedded in the library. The methodology used is like the technique used by shadcn for TypeScript, allowing for seamless integration and efficient template scaffolding directly within the project. <br /> <a href="https://github.com/Denny09310/Blazor.DaisyUI"><strong>Explore the docs �</strong></a> <br /> <br /> <a href="https://github.com/Denny09310/Blazor.DaisyUI">View Demo</a> � <a href="https://github.com/Denny09310/Blazor.DaisyUI/issues">Report Bug</a> � <a href="https://github.com/Denny09310/Blazor.DaisyUI/issues">Request Feature</a> </p> </div>

<details> <summary>Table of Contents</summary> <ol> <li> <a href="#about-the-project">About The Project</a> <ul> <li><a href="#built-with">Built With</a></li> </ul> </li> <li> <a href="#getting-started">Getting Started</a> <ul> <li><a href="#prerequisites">Prerequisites</a></li> <li><a href="#installation">Installation</a></li> </ul> </li> <li><a href="#usage">Usage</a></li> <li><a href="#roadmap">Roadmap</a></li> <li><a href="#contributing">Contributing</a></li> <li><a href="#license">License</a></li> <li><a href="#contact">Contact</a></li> <li><a href="#acknowledgments">Acknowledgments</a></li> </ol> </details>

About The Project

Product Name Screen Shot

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Built With

Blazor C# .NET

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Getting Started

To integrate Blazor.DaisyUI into your Blazor project, follow these simple steps:

NuGet Package Manager Console:

  1. NuGet Package Manager Console:
Install-Package Blazor.DaisyUI
  1. .NET CLI:

If you prefer the command line, use the .NET CLI:

dotnet add package Blazor.DaisyUI

Import the namespace inside your <code>_Imports.razor</code>

This will automatically download and install the latest version of Blazor.DaisyUI into your project, along with any necessary dependencies.

@using Blazor.DaisyUI

and inject the services inside the Dependency Injection Container in <code>Project.cs</code>

using Blazor.DaisyUI;

builder.Services.AddDaisyUi();

Lastly, install the tool to scaffold the templates inside your project

dotnet tool install Blazor.DaisyUI.Tool --global

Usage

To scaffold the templates inside your project use the next command, inside the folder with the blazor project

daisyui generate alert

This will generate the <code>Alert.razor</code> inside your <code>Components/UI</code> folder with the namespace, all the using needed and the required dependencies

For more examples, please refer to the Documentation

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Roadmap

  • Templating all the simple components
  • Templating all the complex components
  • Adding most used custom components

See the open issues for a full list of proposed features (and known issues).

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

<p align="right">(<a href="#readme-top">back to top</a>)</p>

License

Distributed under the MIT License. See LICENSE.txt for more information.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Contact

Koja Dennis - @Denny093 - k.denny2000@gmail.com

Project Link: https://github.com/Denny09310/Blazor.DaisyUI

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Acknowledgments

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Product Compatible and additional computed target framework versions.
.NET 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.0.7-beta 61 3/6/2024
0.0.6-beta 124 12/27/2023
0.0.5-alpha 55 12/26/2023
0.0.4-alpha 65 12/24/2023

This is a very early stage version, I want to add a lot of things