This repository contains usefull UI Components used for Web Development build using HTML
, TailWind CSS
.
To use these components, download the desired folder, and install Tailwind CSS into your system.
-
npx tailwindcss init
-
Add the paths to all of your template files in your tailwind.config.js file.
/** @type {import('tailwindcss').Config} */ module.exports = { content: ["./**/*.{html,js}"], theme: { extend: {}, }, plugins: [], }
-
@tailwind base; @tailwind components; @tailwind utilities;
-
Run the below command in your CLI tool.
./src/input.css -> path to input.css file
./path/to/your/style.css -> path to your main style.css file (look at downloaded folder structure)
npx tailwindcss -i ./src/input.css -o ./path/to/your/style.css --watch