1.0.1 • Published 5 months ago

daisysnap v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

DaisySnap NPM Package

DaisySnap is a powerful npm package designed to make initialization of new React projects effortlessly.

With DaisySnap, you can quickly set up a React project using Vite, integrate Tailwind CSS seamlessly, and optionally include the DaisyUI plugin for enhanced functionality.

Installation

For DaisySnap's time-saving features, install it globally on your system using:

npm install -g daisysnap

Usage

Once DaisySnap is installed, you can initiate a new React project with just a few simple steps. Open your terminal at any location and execute the following command:

daisysnap

DaisySnap will prompt you for the

  • Project name
  • Inquire whether you wish to include the Daisy UI

    Answer these prompts, and DaisySnap will take care of the rest.

Features

  • Vite React Project Initialization: DaisySnap automates the creation of a React project using Vite, ensuring a modern and efficient development setup.

  • Tailwind CSS Integration: DaisySnap includes Tailwind CSS in the project, providing a powerful utility-first styling framework to enhance your development workflow.

  • DaisyUI Plugin (Optional): If desired, DaisySnap gives you the option to integrate the DaisyUI plugin into your Tailwind setup. DaisyUI extends Tailwind CSS with a collection of delightful UI components.

How to Run

  1. Install DaisySnap globally:

    npm install -g daisysnap
  2. Open your terminal at the desired location.

  3. Run DaisySnap:

    daisysnap
  4. Follow the prompts to provide the project name and choose whether to include the Daisy UI plugin.

  5. DaisySnap will automatically initialize your React project with the specified configurations.

Example

Here's a brief example of using DaisySnap:

# Install DaisySnap globally
npm install -g daisysnap

# Navigate to your desired project location
cd /path/to/projects

# Run DaisySnap to initialize a new React project with Tailwind and DaisyUI
daisysnap

Contributions

DaisySnap is an open-source project, and we welcome contributions. Feel free to submit issues, feature requests, or even pull requests on our GitHub repository.

Happy coding with DaisySnap! 🌼