如何正确与tailwindcss集成
#6431
-
例如在card使用tailwindcss时 按tailwindcss官方vite+vue文档引入main.ts import './assets/css/index.css' index.css @tailwind base;
@tailwind components;
@tailwind utilities; |
Beta Was this translation helpful? Give feedback.
Answered by
seepine
Oct 8, 2024
Replies: 3 comments 8 replies
-
尝试了官方说的几种方式,并没有什么变化 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
5 replies
-
有,好像是前后都可以 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不过这倒是一个思路,官方文档是加在前面
也可以在
tailwind.config.ts
中添加,让所有的都加上!important
https://tailwindcss.com/docs/configuration#important