update pay function
This commit is contained in:
28
.tailwindignore
Normal file
28
.tailwindignore
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Tailwind 忽略文件 - 明确排除不需要扫描的目录
|
||||||
|
|
||||||
|
# 构建输出
|
||||||
|
build/
|
||||||
|
dist/
|
||||||
|
|
||||||
|
# Python 相关
|
||||||
|
venv/
|
||||||
|
__pycache__/
|
||||||
|
*.pyc
|
||||||
|
migrations/
|
||||||
|
|
||||||
|
# 依赖
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# 文档和配置
|
||||||
|
docs/
|
||||||
|
scripts/
|
||||||
|
certs/
|
||||||
|
|
||||||
|
# 日志和临时文件
|
||||||
|
*.log
|
||||||
|
flask_session/
|
||||||
|
|
||||||
|
# 其他
|
||||||
|
*.docx
|
||||||
|
*.csv
|
||||||
|
*.conf
|
||||||
@@ -1,16 +1,16 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
const { heroui } = require("@heroui/react");
|
const { heroui } = require("@heroui/react");
|
||||||
const path = require("path");
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: [
|
content: [
|
||||||
// 使用绝对路径(Tailwind 推荐方式,避免误报)
|
// 只扫描 src 和 public 目录(不使用 glob,精确指定)
|
||||||
path.join(__dirname, "./src/**/*.{js,jsx}"),
|
"src/**/*.js",
|
||||||
path.join(__dirname, "./public/index.html"),
|
"src/**/*.jsx",
|
||||||
|
"public/index.html",
|
||||||
|
|
||||||
// Hero UI 组件库
|
// Hero UI 组件库(仅必需文件)
|
||||||
path.join(__dirname, "./node_modules/@heroui/theme/dist/**/*.js"),
|
"node_modules/@heroui/theme/dist/components/*.js",
|
||||||
path.join(__dirname, "./node_modules/@heroui/react/dist/**/*.js"),
|
"node_modules/@heroui/react/dist/index.js",
|
||||||
],
|
],
|
||||||
|
|
||||||
darkMode: "class",
|
darkMode: "class",
|
||||||
|
|||||||
Reference in New Issue
Block a user