moderate-tomatoM
Refine2y ago
3 replies
moderate-tomato

CLI add resource for nextjs template issue?

I created a project today using the latest refine-nextjs template and the following choices:

data-provider-custom-json-rest
antd
auth-provider-google
yarn

I wanted to add a resource so I can the CLI

npm run refine add resource

and my files were put in src/components/members however the example resources are in a much different structure e.g. categories/create/page.tsx etc.

Is there a way to get the add resource to use the same format?
Was this page helpful?