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