rsnext/examples/blog
Henrik Wenz 92aafcbcf1
[Docs] Add config types to all examples (#40083)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->

## Summary

- Added jsdoc typing for all examples using `next.config.js`
- Added jsdoc typing for all examples using `tailwind.config.js`

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-08-31 16:41:22 -05:00
..
pages [Docs] Update examples to favour functional _document (#39871) 2022-08-23 18:52:31 +00:00
public [examples] Small updates to blog example. (#23258) 2021-03-22 22:10:15 -05:00
scripts chore(examples): Convert blog example to TypeScript (#38095) 2022-07-06 19:33:16 +00:00
styles [examples] Small updates to blog example. (#23258) 2021-03-22 22:10:15 -05:00
.gitignore Update default gitignore templates (#39051) 2022-07-26 20:08:40 -05:00
next-env.d.ts chore(examples): Convert blog example to TypeScript (#38095) 2022-07-06 19:33:16 +00:00
next.config.js [Docs] Add config types to all examples (#40083) 2022-08-31 16:41:22 -05:00
package.json chore(examples): Convert blog example to TypeScript (#38095) 2022-07-06 19:33:16 +00:00
README.md chore(examples): Convert blog example to TypeScript (#38095) 2022-07-06 19:33:16 +00:00
theme.config.js chore(examples): Convert blog example to TypeScript (#38095) 2022-07-06 19:33:16 +00:00
tsconfig.json chore(examples): Convert blog example to TypeScript (#38095) 2022-07-06 19:33:16 +00:00

Portfolio Starter Kit

This portfolio is built with Next.js and a library called Nextra. It allows you to write Markdown and focus on the content of your portfolio. This starter includes:

  • Automatically configured to handle Markdown/MDX
  • Generates an RSS feed based on your posts
  • A beautiful theme included out of the box
  • Easily categorize posts with tags
  • Fast, optimized web font loading

https://demo.vercel.blog

Configuration

  1. Update your name in theme.config.js or change the footer.
  2. Update your name and site URL for the RSS feed in scripts/gen-rss.js.
  3. Update the meta tags in pages/_document.tsx.
  4. Update the posts inside pages/posts/*.md with your own content.

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

npx create-next-app --example blog my-blog
# or
yarn create next-app --example blog my-blog
# or
pnpm create next-app --example blog my-blog

Deploy it to the cloud with Vercel (Documentation).