Run create refine-app in existing directory
Hi guys 👋
Wanted to ask, I tried to create a new refine-app project using the command
npm create refine-app
, but couldn't do it to an existing directory. If I don't add a name, it'll provide me a random one, and if I put "." as the name, it's an invalid input.
Is it possible and I'm just missing something here?2 Replies
Hi, I am refine support bot :wave:. I am here to help you with your question. I searched for the answer to your question in the refine documentation and found an answer! 🏆
Answer: It is possible to create a refine-app project using the command
Answer: It is possible to create a refine-app project using the command
npm create refine-app
to an existing directory. You can use the command npm create refine-app@latest -- -o refine-antd tutorial
to create a refine-app project in an existing directory.
SOURCES: ./docs/tutorial/1-getting-started/antd/2-create-project.md, ./docs/getting-started/quickstart.md
Note: If this is the answer you need, then we are very lucky. If not, please wait for someone from the refine core team or the community to try to help you.
correct-apricot•2y ago
OK nevermind I'm dumb, I simply went one dir back and put the name of the directory I have as the directory name and it works.
I do think tho that putting "." should work the same way