update pay function
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
const { heroui } = require("@heroui/react");
|
||||
const path = require("path");
|
||||
|
||||
module.exports = {
|
||||
content: [
|
||||
// 使用绝对路径(Tailwind 推荐方式,避免误报)
|
||||
path.join(__dirname, "./src/**/*.{js,jsx}"),
|
||||
path.join(__dirname, "./public/index.html"),
|
||||
// 只扫描 src 和 public 目录(不使用 glob,精确指定)
|
||||
"src/**/*.js",
|
||||
"src/**/*.jsx",
|
||||
"public/index.html",
|
||||
|
||||
// Hero UI 组件库
|
||||
path.join(__dirname, "./node_modules/@heroui/theme/dist/**/*.js"),
|
||||
path.join(__dirname, "./node_modules/@heroui/react/dist/**/*.js"),
|
||||
// Hero UI 组件库(仅必需文件)
|
||||
"node_modules/@heroui/theme/dist/components/*.js",
|
||||
"node_modules/@heroui/react/dist/index.js",
|
||||
],
|
||||
|
||||
darkMode: "class",
|
||||
|
||||
Reference in New Issue
Block a user