Skip to content

LukasDzenk/next-markdown-blog

Repository files navigation

This is a Markdown powered Next.js blog! View Live version

Getting Started

Installation

yarn 

Development

yarn dev

Homepage http://localhost:3000/next-markdown-blog

Local static file serving

serve -s ./out -p 8000

NOTE: In order to preview the exported static files locally, the following has to be edited:

  • Comment out from next.config.js (otherwise "Uncaught SyntaxError: Unexpected token '<' (at ...)" will be thrown":
    • // assetPrefix: '/next-markdown-blog',
    • // basePath: '/next-markdown-blog',
  • Remove '/next-markdown-blog' from Image src

To deploy to GitHub, undo the changes above.

Resources

This blog was initially made by following this article (repo: https://github.com/rebelchris/next-markdown-blog).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published