跳至正文
Wener Notes

TailwindCSS FAQ

约 1 分钟阅读
标签:FAQ

As of Tailwind CSS v2.2, lightBlue has been renamed to sky.

text
warn - As of Tailwind CSS v2.2, `lightBlue` has been renamed to `sky`.
warn - Update your configuration file to silence this warning.
JavaScript
const colors = require('tailwindcss/colors');
// 忽略弃用的颜色
delete colors['lightBlue'];
delete colors['warmGray'];
delete colors['trueGray'];
delete colors['coolGray'];
delete colors['blueGray'];

prettier-plugin-tailwindcss

rem -> px

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

GitHub3 条
最近更新commit d90fb28编辑