How to setup Ant design to the existing refine project?

How to setup Ant design to the existing refine project?
2 Replies
kapa.ai
kapa.ai2y ago
Hi @mflash.. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- To set up Ant Design in your existing refine project, you need to add the necessary packages to your package.json file. The packages you need to add are @refinedev/antd, @refinedev/core, @refinedev/react-router-v6, and @refinedev/supabase. Here is an example of how your dependencies section in package.json should look like:
"dependencies": {
"@refinedev/antd": "^4.7.0",
"@refinedev/core": "^3.18.0",
"@refinedev/react-router-v6": "^3.18.0",
"@refinedev/supabase": "^3.18.0",
}
"dependencies": {
"@refinedev/antd": "^4.7.0",
"@refinedev/core": "^3.18.0",
"@refinedev/react-router-v6": "^3.18.0",
"@refinedev/supabase": "^3.18.0",
}
The @refinedev/antd module allows you to use Ant Design components for your UI, and the @refinedev/supabase module allows you to use refine's Supabase auth and data providers. Please note that the version numbers might change, so always use the latest versions of these packages. For more detailed information, you can refer to the source (https://refine.dev/blog/refine-pixels-2). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2y ago
<@204169884727246849> kapa.ai is still learning and improving, please let us how it did by reacting below

Did you find this page helpful?