Skip to content

Is it possible to use markdoc with Nextjs 13 Pages and Layout inside the appDir? #329

Answered by mfix-stripe
ZYJLiu asked this question in Q&A
Discussion options

You must be logged in to vote

@ZYJLiu not at the moment, but we would love help from the community for coming up with a Next.js 13 example.

I don't imagine there would be any constraints (just put your Markdoc pages in app/ instead of pages/), but there might be some unforeseen things about Next.js 13 that don't work with our dependencies (e.g. we rely on Next.js's Webpack config to parse and bundle the Markdoc documents). I am not sure yet.

Please let me know if you try to integrate with next@13 and see what issues you run in to.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mfix-stripe
Comment options

You must be logged in to vote
3 replies
@mfix-stripe
Comment options

@bvaughn
Comment options

@mfix-stripe
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants