我更喜欢创建项目样式和组件样式与顺风css框架。我想使用一些蚂蚁设计组件。Tailwindcss和ant.design在一起遇到了问题。当我们将@import 'tailwindcss/base'导入到项目中时,Ant设计对齐会丢失,而当我们删除它时,ant设计对齐将正常工作。蚂蚁设计可以修改全局样式和according of document I try to prevent this,但不适用于我<e
我将其添加到产品配置中: plugins: [["import", { libraryName: "antd", style: true }]],但是我仍然会遇到像ReferenceError: Menu is not defined.这样的错误,是不是遗漏了什么?当我将同样的内容添加到dev配置中时,一切在本地都很好,所以我有点困惑。
/dist/antd.less";
font-family: sans-serif;现在重新加载该项目的codesandbox浏览器选项卡。Uncaught (in promise) TypeError: Cannot read property 'replace' of undefined at n (less.js:10831)
在较少的文件中自定义
另一种自定义主题的