Run your Slice Machine project

Beta

These docs rely on Slice Machine, which is in active development and subject to change. Content Relationships are not currently supported with Slices.

You're now ready to start your Next.js project. Simply run the following command and follow the link to your localhost.

  • npm
  • yarn
Copy
npm run dev
Copy
yarn dev

You can now visit http://localhost:3000/test to see the empty Slice Zone.

This is the screen you'll see when you have no Slices selected in Prismic.

Slice Zone. Where the magic really starts.

The Slice Zone is a custom component that we created to be the entry point on your page for all your components. It is where any components you've created or any component libraries that your are using are added to the page. It also automatically queries your Prismic repo, so less work with BIG results.