contentz-tech / build

Build your Contentz website for production

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Investigate use Next.js as build tool internally

sergiodxa opened this issue · comments

Is your feature request related to a problem? Please describe.
We are using old MDX versions #178 and we don't support bundling correctly (e.g. you can use imported components from npm in MDX files but you can't import them from you local without a manual build).

Describe the solution you'd like
Next.js now has these getStaticProps and getStaticPaths that could help us implement Contentz, we could investigate if it's possible to internally use Next.js and have our own pages defined in the Contentz app, then in those pages we could read the file system to detect articles, pages, etc.

This would be cool! but I don't know where to start