5f041447bc
* Find/Replace "Deploy it to the cloud..." * Find/Replace "Deploy it to the cloud..." (no colon) * Find/Replace "Deploy it to the cloud..." for firebase * Convert remaining ones * Storybook deployment * Update with-stripe-typescript * Update contributing.md * Remove `now` * Update examples/with-stripe-typescript/README.md Co-Authored-By: Luis Alvarez D. <luis@zeit.co> |
||
---|---|---|
.. | ||
components | ||
pages | ||
posts | ||
public | ||
.babelrc | ||
blog.config.js | ||
next.config.js | ||
now.json | ||
package.json | ||
README.md |
Blog starter 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.
Deploy your own
Deploy the example using ZEIT Now:
How to use
Using create-next-app
Execute create-next-app
with npm or Yarn to bootstrap the example:
npm init next-app --example blog-starter blog-starter-app
# or
yarn create next-app --example blog-starter blog-starter-app
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 ZEIT Now (Documentation).