Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

element admin 如果想使用tailwind css 3.x 需要做哪些升级工作 #4007

Open
tlerbao opened this issue May 29, 2022 · 1 comment
Open

Comments

@tlerbao
Copy link

tlerbao commented May 29, 2022

目前是无法使用postcss的方式安装tailwindcss 最新版的

npm install -D tailwindcss postcss autoprefixer

请问如果想在element admin中使用tailwind css 需要做哪些升级工作

@laogui
Copy link

laogui commented Nov 17, 2022

目前只能用tailwindcss2和postcss7,一些新库却要postcss 8,头大。
{ "dependencies": { "postcss": "^7.0.39", "postcss-import": "12.0.1", "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.17", }, "resolutions": { "postcss": "7" } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants