Is it at all possible to do Dynamic imports in Next.js of a server component?

I have several hundred MDX files I need to import based on their slug - I can't use folder routing for slugs.

I can use generateStaticParams to generate a list of URLs, but the dynamic imports wont work

Any approaches here?

Source: x.com/wesbos/status/1824437678651122028

Reply to this note

Please Login to reply.

Discussion

No replies yet.