Skip to content

Getting Started With WeedorUI 🚀

WeedorUI offers a collection of beautifully crafted components, ready to be seamlessly integrated into your applications with a simple copy-and-paste. Each component is not only visually appealing but also fully accessible, ensuring inclusivity for all users. Designed with flexibility in mind, they are highly customizable to fit your unique design requirements. WeedorUI is open-source, and it empowers developers with complete creative control.

🛞 Installation

WeedorUI is built on top of Tailwind CSS, a highly customizable, low-level CSS framework. To ensure compatibility and take full advantage of WeedorUI’s features, it is important to have the latest version of Tailwind CSS installed in your project.

Before integrating WeedorUI, please follow the guide below to install or update to the most recent version of Tailwind CSS. This will help ensure that your project runs smoothly and you benefit from all the modern utilities and configurations provided by Tailwind.


  1. Install Tailwind CSS via npm

    First, you’ll need to install tailwindcss using npm. Open your terminal and run the following command:

    Terminal window
    npm install -D tailwindcss
    npx tailwindcss init

    The tailwindcss init command creates a default tailwind.config.js file at the root of your project. You can customize this configuration file as needed.

  2. Configure Your Template Paths

    In your tailwind.config.js file, add the paths to all of your template files. This ensures that Tailwind can remove any unused styles when building for production.

    tailwind.config.js
    module.exports = {
    content: [
    './src/**/*.{html,js}',
    ],
    theme: {
    extend: {},
    },
    plugins: [],
    }
  3. Add Tailwind to Your CSS

    Create a CSS file where you want to include Tailwind’s base, components, and utilities:

    src/input.css
    @tailwind base;
    @tailwind components;
    @tailwind utilities;
  4. Start the Tailwind CLI Build Process

    Now, run the Tailwind CLI tool to scan your template files and generate the necessary CSS:

    Terminal window
    npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch

    This command watches your template files and rebuilds the CSS every time you save changes.

That’s it! You have successfully installed Tailwind CSS via the CLI. For more details, you can always refer to the official Tailwind documentation.