This commit is contained in:
2025-03-24 09:23:26 +08:00
parent a4f7d1da99
commit e88791f8ff
6 changed files with 1786 additions and 670 deletions

View File

@@ -80,6 +80,7 @@
"@babel/plugin-proposal-class-properties": "7.14.5",
"@babel/preset-react": "^7.26.3",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@tailwindcss/postcss": "^4.0.15",
"@tarojs/cli": "4.0.8",
"@tarojs/plugin-mini-ci": "^4.0.8",
"@tarojs/plugin-react-devtools": "^4.0.9",
@@ -97,13 +98,13 @@
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^4.6.2",
"miniprogram-ci": "^2.0.10",
"postcss": "^8.4.49",
"postcss": "^8.5.3",
"react-refresh": "^0.11.0",
"stylelint": "^14.16.1",
"tailwindcss": "^3.4.17",
"tailwindcss": "^4.0.15",
"thread-loader": "^4.0.4",
"ts-node": "^10.9.2",
"weapp-tailwindcss": "^3.7.0",
"weapp-tailwindcss": "^4.1.0",
"webpack": "5.94.0"
}
}

2438
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,6 @@
// postcss 插件以 object 方式注册的话,是按照由上到下的顺序执行的
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
"@tailwindcss/postcss": {},
}
}

View File

@@ -4,6 +4,7 @@ import { Provider } from 'react-redux'
import configStore from './store'
import './app.scss'
import './style/index.css'
const store = configStore()

View File

@@ -1,3 +1 @@
@use 'tailwindcss/base' as *;
@use 'tailwindcss/components' as *;
@use 'tailwindcss/utilities' as *;

1
src/style/index.css Normal file
View File

@@ -0,0 +1 @@
@import "weapp-tailwindcss";