Files
vf_react/tailwind.config.js
2025-11-22 13:09:46 +08:00

19 lines
414 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/** @type {import('tailwindcss').Config} */
const { heroui } = require("@heroui/react");
module.exports = {
content: [
// React 组件
"./src/**/*.{js,jsx,ts,tsx}",
"./public/index.html",
// Hero UI 组件
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
darkMode: "class", // 支持深色模式class 或 media
plugins: [heroui()],
}