Tailwind IDE Extension
为 VSCode 添加扩展 tailwind intellisense
在 VSCode 设置中取消对 CSS 的默认有效性检测,这样在样式中书写 @apply
时就不会显示错误提示
{
"css.validate": false
}
在 VSCode 中对字符串的快速提示勾选为 true。这样在页面中新加 class 类名的时候可以弹出提示,直接选择即可。
{
"editor.quickSuggestions": {
"strings": true
}
}