optimistic-gold
optimistic-gold•14mo ago

Adding component shadcn/ui to Refine

I was add refine with this configuration, I choose the headless UI, and then I was add component shadcn/ui to refine, but the style is not work, you can check this component https://ui.shadcn.com/docs/components/card
Card
Displays a card with header, content, and footer.
No description
No description
No description
12 Replies
kapa.ai
kapa.ai•14mo ago
Hi @tjgeni. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not contain specific details about integrating the shadcn/ui library with refine. However, refine is designed to work seamlessly with any custom designs or UI frameworks, so it should be possible to integrate shadcn/ui. You might want to check the documentation for both refine and shadcn/ui to see if there are any specific instructions or requirements for integrating the two. If you're still having trouble, it might be helpful to reach out to the support communities for both libraries. Here are some useful links: - Refine Documentation (https://refine.dev/docs) - Shadcn/UI Documentation (https://ui.shadcn.com/docs/components/card) ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai•14mo ago
<@526614763413831680> kapa.ai is still learning and improving, please let us how it did by reacting below
optimistic-gold
optimistic-gold•14mo ago
yeah, i don't know why the style shadcn is not work @kapa.ai
kapa.ai
kapa.ai•14mo ago
Let me check the knowledge base for you. One moment! :books: Sorry @tjgeni, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist: Perhaps try again in 15mins?
optimistic-gold
optimistic-gold•14mo ago
if you give us reporoducible example, we are happy to debug. we cannot debug without seeing your project code
optimistic-gold
optimistic-gold•14mo ago
oh okay, I upload to github.. wait
optimistic-gold
optimistic-gold•14mo ago
hello @alicanerdurmaz .. you can clone to my repo https://github.com/tegarjgap/refine-test
GitHub
GitHub - tegarjgap/refine-test
Contribute to tegarjgap/refine-test development by creating an account on GitHub.
optimistic-gold
optimistic-gold•14mo ago
thanks
optimistic-gold
optimistic-gold•14mo ago
I added this to tailwind.config.js, its working now './@/**/*.{js,ts,jsx,tsx}' last one
content: [
'./pages/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
'./@/**/*.{js,ts,jsx,tsx}',
],
content: [
'./pages/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
'./@/**/*.{js,ts,jsx,tsx}',
],
optimistic-gold
optimistic-gold•14mo ago
No description
optimistic-gold
optimistic-gold•14mo ago
wow, cool.. thank a lot @alicanerdurmaz
optimistic-gold
optimistic-gold•14mo ago
your welcome 🚀