Contentlayer turns your content into data - making it super easy to import MD(X) and CMS content in your app
3.33k
stars
200
forks
source link
Could not find `contentlayer.config.ts` or `contentlayer.config.js` in source #670
Open
SanyamPunia opened 2 months ago
I'm trying to configure my blogs/docs using
contentlayer
in a Next.js project.When I run
yarn contentlayer build
oryarn contentlayer dev
, I receive the following error:The
contentlayer.config.js
file is located at the root of my project, and my configuration looks like this:Here’s my directory structure:
Is
contentlayer
not compatible with the latest Next.js version, or is there something wrong with my configuration? Any help would be appreciated!