Refine documentation on Supabase out of date
I am going through the getting started guide for the refine quickstart and the steps aren't lining up with the output.
The directions say that the pages for list, create, show and edit actions would edn up in the src/pages/countries/ directory but when the command that is instructed to run; they end up in the /src/components/ page instead
5 Replies
Hi @its_a_lisa. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
I'm sorry for the confusion you're experiencing. Based on the information provided in the extracts, the
npm run refine create-resource
command should indeed create the necessary files in the pages
directory, not the components
directory.
For example, when you run the command npm run refine create-resource post
, it should create list.tsx
, show.tsx
, create.tsx
, edit.tsx
and index.ts
in the pages
directory as mentioned in the blog post (https://refine.dev/blog/refine-vs-redwood-js/).
If the files are being created in the components
directory instead, it might be due to a version difference or a bug. I would recommend checking the version of refine you're using and comparing it with the latest version. If you're not using the latest version, updating might solve the issue.
If the issue persists, it might be a good idea to reach out to the refine community or support for further assistance.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@402247437043105803> kapa.ai is still learning and improving, please let us know how it did by reacting below
rival-blackOP•16mo ago
@Necati I see you were the one to update the docs 3 months ago; is it still current or is the bot actually right?
my bad; i didn't realize it was building with vite instead of nextjs
ugly-tan•15mo ago
Hi @its_a_lisa , Is everything okay right now?
rival-blackOP•15mo ago
Yup! It was totally a user error on my part