How can I use <Card /> component in my docs-theme when deploying on Vercel? #1656
Unanswered
bogdanmosica
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Try to update nextra, it was exported in the newly versions |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I use component in my docs-theme when deploying on Vercel? This a component I saw it is used on official documentation of Nextra.
For some reason, on my local dev mode, the Component seems to be working fine, but when I try to deploy on Vercel, I get the following error:
./pages/introduction.mdx
15:57:06.102 | Attempted import error: 'Card' is not exported from 'nextra-theme-docs' (imported as 'Card').
15:57:06.102 |
15:57:06.102 | ./pages/introduction.mdx
15:57:06.102 | Attempted import error: 'Cards' is not exported from 'nextra-theme-docs' (imported as 'Cards').
I have tried to search on google but nothing shows up. I would guess this component is used only for the official project?
Beta Was this translation helpful? Give feedback.
All reactions