/nextjs-starter

Primary LanguageJavaScriptMIT LicenseMIT

Minimal Next.js Stackbit Starter

Full Stackbit Starter

This is a minimal starting point for new Stackbit projects. It is built with Next.js and equipped with visual editing capabilities using Stackbit. It uses markdown files as the content source. See below for other Stackbit example projects.

⚡ Demo: stackbit-nextjs-starter.netlify.app

Getting Started

The typical development process is to begin by working locally.

Create local Stackbit project from this repo:

npx create-stackbit-app@latest --starter nextjs

Run the Next.js development server:

cd my-stackbit-site
npm run dev

Install the Stackbit CLI. Then open a new terminal window in the same project directory and run the Stackbit Dev server:

npm install -g @stackbit/cli
stackbit dev

This outputs your own Stackbit URL. Open this, register or sign in, and you will be directed to Stackbit's visual editor for your new project.

Next.js Dev + Stackbit Dev

Next Steps

Here are a few suggestions on what to do next if you're new to Stackbit:

Other Stackbit Projects

Stackbit has a number of examples that you can use to create a new project or evaluate Stackbit. Run the following command to see a list of available examples:

npx create-stackbit-app@latest --help

You can also visit our stackbit-themes GitHub organization

Join the Community

Join us on Discord for community support and to showcase what you build with this starter.