Skip to content

Latest commit

 

History

History

dynamic-routes

Dynamic Routes

next-markdown works kind of like pages/ but for markdown files.

For example:

  • create a about.md will generate /about
  • create a hello/index.md will generate /hello
  • create a hello/world.md will generate /hello/world

How To Run This Demo

git clone https://github.com/frouo/next-markdown.git

cd next-markdown
npm install
npm run build

cd examples/dynamic-routes/
npm install
npm run dev

open http://localhost:3000