like-gold
like-gold2y ago

how do I create a link that will not be on the sidebar?

How do I create new routes snd links ghat will not show on the sider , but ll be distributed across the site
2 Replies
refine-support-bot
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: To create a link that will not be on the sidebar, you can use the CreateButton component from the @pankod/refine-chakra-ui package. The hideText prop can be used to show and not show the text of the button. SOURCES: ./docs/api-reference/chakra-ui/components/buttons/create.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.
robust-apricot
robust-apricot2y ago
You can refer to the Custom Pages doc for this. https://refine.dev/docs/advanced-tutorials/custom-pages/ If you want to add resource and hide it from the sidebar only you can use hide. https://refine.dev/docs/api-reference/core/components/refine-config/#hide