Installation
-
Install AstroUI
Terminal window npm install @beanwei/astro-ui# orpnpm add @beanwei/astro-ui# oryarn add @beanwei/astro-ui -
Configure the tailwind
src/tailwind.config.mjs import astroui from '@beanwei/astro-ui/tailwind' // 👈-Step1/** @type {import('tailwindcss').Config} */export default {presets: [astroui()], // 👈-Step2content: ['./node_modules/@beanwei/astro-ui/src/**/*.{astro,ts}', // 👈-Step3'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',],}