Easy Manually And Automatic Tailwind CSS Setup!

Поділитися
Вставка
  • Опубліковано 13 січ 2025
  • How to easily setup tailwind CSS without any complications.
    In this video, we install Tailwind CSS automatic from a new project, and also manually from a already created project. Here is the commands that we use:
    Automatic installation from new project: npx create-next-app -example with-tailwindcss
    Manually:
    1. npm install -D tailwindcss postcss autoprefixer
    2. npx tailwindcss init -p
    3. In content: "./pages/**/*.{js,ts,jsx,tsx}",
    "./components/**/*.{js,ts,jsx,tsx}",
    4. In globals.css: @tailwind base;
    @tailwind components;
    @tailwind utilities;
    Thanks for watching. Please subscribe to the channel.
    TailwindCSS
    TailwindCSS Guide
    TailwindCSS Tutorial
    TailwindCSS Tutorial Setup

КОМЕНТАРІ •