stormy-gold
stormy-gold13mo ago

swizzle create form RefinePageHeaderClassNames is not defined

default generate is not properly working
6 Replies
kapa.ai
kapa.ai13mo ago
Hi @brandonkhj. 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 to hear that you're having trouble with the default generate function in refine. However, based on the information provided in the extracts, it's difficult to pinpoint the exact issue you're facing. If you're trying to generate CRUD pages, you might be using the refine Inferencer package. This tool automates the generation of CRUD (Create, Read, Update, Delete) pages for resources in your refine application based on the data model. If these pages are not being generated properly, there might be an issue with your data model or the way you're using the Inferencer package. You can find more information about this package in the documentation (https://refine.dev/docs/packages/documentation/inferencer/). If you're trying to generate a new resource, you might be using the create-resource command. This command adds a new resource to your project and creates CRUD components for the selected actions. If this command is not working properly, there might be an issue with the way you're using it. You can find more information about this command in the documentation (https://refine.dev/docs/packages/documentation/cli/). If you're still having trouble, I recommend checking the official refine documentation or reaching out to the refine community for more specific help. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai13mo ago
<@391513391870640138> kapa.ai is still learning and improving, please let us know how it did by reacting below
extended-salmon
extended-salmon13mo ago
Hello @brandonkhj , can you give me more detail ? I couldn't understand the problem
stormy-gold
stormy-gold13mo ago
Hi Alican, I managed to resolve the issue. Just missing this line at default generated refine Create and Edit prop
import { RefinePageHeaderClassNames } from "@refinedev/ui-types";
import { RefinePageHeaderClassNames } from "@refinedev/ui-types";
extended-salmon
extended-salmon13mo ago
Hey @brandonkhj could you let us know which swizzle caused this problem?
stormy-gold
stormy-gold13mo ago
Hi , it's @refinedev/chakra-ui > Basic Views > Create, Edit and Show. for "List" i havent touch on yet