UNPKG

create-react-tailwind-app-router

Version:

A starter template package for React applications with React Router, Tailwind CSS, and Prettier using Vite. Supports both JavaScript and TypeScript templates.

18 lines (17 loc) 397 B
/** @type {import('tailwindcss').Config} */ export default { content: [ "./index.html", "./src/**/*.{js,ts,jsx,tsx}", ], darkMode: 'class', // Enable class-based dark mode theme: { extend: { // Add any custom theme extensions here animation: { 'pulse': 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite', } }, }, plugins: [], }