Skip to content
Branch: master
Find file History
#6151 Compare This branch is 97 commits behind canary.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
components Added new blog example (#7511) Jun 13, 2019
pages Fix typo within blog-starter example (#8182) Jul 30, 2019
posts Added new blog example (#7511) Jun 13, 2019
static Added new blog example (#7511) Jun 13, 2019
.babelrc Added new blog example (#7511) Jun 13, 2019
README.md
blog.config.js Added new blog example (#7511) Jun 13, 2019
next.config.js Added new blog example (#7511) Jun 13, 2019
now.json Added new blog example (#7511) Jun 13, 2019
package.json Switch all examples to `next@latest` (#7806) Jul 8, 2019

README.md

Blog starter example

How to use

Using create-next-app

Download create-next-app to bootstrap the example:

npm i -g create-next-app
create-next-app --example blog-starter

Download manually

Download the example or clone the repo:

curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/blog-starter
cd blog-starter

Run locally

Install and run the development server:

yarn install
now dev

Deploy

Deploy it to the cloud with now (download)

now

The idea behind the example

This is an example of a blog built with Next.js. Read more about the motivation and how it is built.

The blog is still barebones and need more improvements and styling, but this should be enough to get you started.

Demo deployed in Now

You can’t perform that action at this time.