shadcn / next-contentlayer

A template with Next.js 13 app dir, Contentlayer, Tailwind CSS and dark mode.
https://next-contentlayer.vercel.app
695 stars 94 forks source link

run `contentlayer build` prior to `next build` #13

Open jzxhuang opened 1 year ago

jzxhuang commented 1 year ago

Closes #11. Without this, building in CI environments doesn't work out of the box (i.e. you would need to set a custom Vercel build command contentlayer build && pnpm build

More context: see https://github.com/contentlayerdev/website/pull/106, https://github.com/contentlayerdev/website/issues/105

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-contentlayer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 15, 2023 1:53pm