/sm-prismic-docs-library-react

A starter project to use for the Prismic SM library contest

Primary LanguageJavaScriptMIT LicenseMIT

Prismic Documentation Slice Library - Next.js

A Prismic slice library featuring some of the components used to build the Prismic developer documentation. The project is built with Next.js and Slice Machine and was created for the Prismic #SliceContest.

Prismic developer documentation

Here are some of the available slices in this library:

available slices

Check out the live Storybook demo of these slices.

📚  Useful Links

🏁  Getting Started

Here's how to get started using this project.

Setting up the Project

Start by downloading the project and opening a terminal at the root of the project files. Run the following command to install the project dependencies.

npm install

Launching the Storybook slice documentation

To launch the Storybook slice documentation, run the following command.

npm run storybook

This will launch Storybook on port 8888.

Launching the Project to see a test page

To launch the site and see a demo page, run the following command.

npm run next:dev

This will launch the site on port 3000 and display an example page.