You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My use case involves a public repo (Next.js app) with a section blocked behind an auth layer. I am trying to pull in content (MD & MDX files) from a private repo and load them into the app for authenticated users. Is it possible to use Contentlayer for this, or is something like next-mdx-remote, which has runtime (on-request) fetching, a better fit? I am mainly worried about the local artifacts contentlayer generates in the repo.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My use case involves a public repo (Next.js app) with a section blocked behind an auth layer. I am trying to pull in content (MD & MDX files) from a private repo and load them into the app for authenticated users. Is it possible to use Contentlayer for this, or is something like next-mdx-remote, which has runtime (on-request) fetching, a better fit? I am mainly worried about the local artifacts contentlayer generates in the repo.
Beta Was this translation helpful? Give feedback.
All reactions