Starters
Launch a Prismic starter project.
Choose the project you want to install and run the corresponding command in your terminal:
To install the blog starter, run this command:
npx degit https://github.com/prismicio-community/nextjs-starter-prismic-blog nextjs-starter-prismic-blog
cd nextjs-starter-prismic-blog
npx @slicemachine/init
To install the business starter, run this command:
npx degit https://github.com/prismicio-community/nextjs-starter-prismic-multi-language nextjs-starter-prismic-multi-language
cd nextjs-starter-prismic-multi-language
npx @slicemachine/init
To install the freelancer starter, run this command:
npx degit https://github.com/prismicio-community/nextjs-starter-prismic-multi-page nextjs-starter-prismic-multi-page
cd nextjs-starter-prismic-multi-page
npx @slicemachine/init
npm run dev
This command will run two servers:
- one with your new website in a development environment
- one with Slice Machine
Slice Machine is Prismic's desktop application for creating content models and syncing them to Prismic.
Open Slice Machine in your browser. In the Custom Types section, you will see the Custom Types models for your project. In the Slices section, you will see the Slice models for your project. These models are all already synced to Prismic.
Next, add content to your newly-created Prismic repository. Go to prismic.io/dashboard to see your new repository. If your project needs a menu or homepage, create those documents. If your project needs pages or blog posts, create at least one of each.
To learn how to customize your project, you can return to Model Content and proceed through Fetch Data and Template Content to learn the basics of developing with Prismic.
To deploy your project, read Deploy your App.
To set up previews, read Preview Drafts.
Was this article helpful?
Can't find what you're looking for? Spot an error in the documentation? Get in touch with us on our Community Forum or using the feedback form above.