No description
  • JavaScript 98.8%
  • CSS 1.2%
Find a file
Lukas Dzenkauskas ccd717cfd0
Update README.md
2022-10-10 03:00:49 +03:00
components - 2022-08-25 20:41:00 +03:00
docs Auto generated commit msg: content changes 2022-08-25 18:47:44 +03:00
pages - 2022-08-25 20:41:00 +03:00
posts Initial commit 2022-08-24 17:44:28 +03:00
public Initial commit 2022-08-24 17:44:28 +03:00
styles Initial commit 2022-08-24 17:44:28 +03:00
.eslintrc.json Initial commit 2022-08-24 17:44:28 +03:00
.gitignore Initial 2022-08-25 11:00:15 +03:00
next.config.js Auto generated commit msg: content changes 2022-08-25 18:47:44 +03:00
package.json Auto generated commit msg: content changes 2022-08-25 12:15:40 +03:00
postcss.config.js Initial commit 2022-08-24 17:44:28 +03:00
README.md Update README.md 2022-10-10 03:00:49 +03:00
tailwind.config.js Initial commit 2022-08-24 17:44:28 +03:00
yarn.lock Initial commit 2022-08-24 17:44:28 +03:00

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).