📜  我们可以同时使用材质 ui 和 tailwind css - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:38.782000             🧑  作者: Mango

代码示例2
Sure. It actually makes for an excellent developer experience since Material UI is a great component library but is missing utility classes, while Tailwind is a great library of excellent utitility classes. Utility classes make tons of sense for modern component based front ends that consume JSON data. XML style markup, it turns out, is actually great for visual stuff, not so great for data -- for which it is needlessly complex. Small but important tip: make sure you add important: true to your tailwind.config.js file, tailwind will be of limited use otherwise.