Swapping out CRA with Vite after using CLI
Hello, I tried using the CLI to create a base with CRA using v4 of refine. I then tried to swap it out with Vite but I get the following error:
I checked out the GH Issues for Yoga and for Refine and can't find anything to help me. Does anybody have any suggestions?
4 Replies
Hey @rev_eng_g! I'm the kapa.ai support bot. I've searched through the docs to try to answer your question. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. However, I found this documentation (https://refine.dev/docs/packages/documentation/cli/#how-to-add-to-an-existing-project) that might help you. It explains how to add the refine CLI to an existing project. It also provides the following code snippet that you can use to update the
@refinedev/antd
package to the latest version:
I hope this helps!
----------------------CLI | refine
refine CLI is a command line application that allows you to interact with your refine project and perform some tasks. This includes creating a new resource, managing updates, swizzle components, and runs your project (build, start, dev).
<@752749038742405211> kapa.ai is still learning and improving, please let us how it did by reacting below
Hey @rev_eng_g ,
Thank you for contacting us! Can you provide a CodeSandbox or StackBlitz environment that we can use to reproduce the issue?