Website Next JS Dynamic Import Icon Component example doesn't work #2131
Unanswered
EfrainCami
asked this question in
Q&A
Replies: 2 comments
-
Found this example here:
export default Icon; And this works for me, but idk why the one of lucide.dev does't work |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have check Next docs out and found that the example that i shared to you on my previous comment looks more like the one on next docs, maybe the example of lucide.dev is outdated. Should consider to update it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The example shown on lucide.dev about how to create a dynamic import component doen't work for me. Followed all the steps, including the one about next js configuration, but it doesn't work. Anyone have the same problem?
Beta Was this translation helpful? Give feedback.
All reactions