NextJS Demo Content?

Hi all, new to Prismic -

I ran this demo last night.

It would appear all of the NextJS part of the project exist and a repo was created in Prismic, but the Prismic side is empty so I'm only seeing a blank screen on localhost3000.

Is there documentation on how to create the data inside Prismic to render this demo https://prismic-nextjs-website.raulg.now.sh/ ?

Hello @bobbybrooks,

I'm Baptiste, part of the development team at Prismic, and I'm happy to welcome you to our community.

We're aware of this issue and tracking it. I'll come back to you as soon as this is resolved, but in the mean time, you can manually copy and paste the following Custom Types into the Custom Types Editor to get started (Homepage and Menu shall be "Single Type" and Page shall be "Repeatable"). If you're not aware of the ability to edit Custom Types using JSON, I advise you to read the following documentation: Introduction to Custom Types building and How to version custom types. After you've created your Custom Types, you'll have to create documents that match these Custom Types (you'll at least need a Homepage and a Menu for the Next.js app to run properly).

Feel free to ask further questions if you need any help.

Yours,
Baptiste

Thank you very much @baptiste.morelle I was able to get it to work!

1 Like

Hello @bobbybrooks,

I just wanted to let you know that the prismic theme --theme-url https://github.com/prismicio/nextjs-website --conf prismic-configuration.js command is now fixed. If you want to try it out, just follow the article you linked and the Custom Types and documents will automatically be imported.

Yours,
Baptiste