A site made with Next.js with tailwindcss.
Using bun instead of npm for package management.
Replace bun with npm when on windows.
curl https://bun.sh/install | bash
- Install dependencies
bun install
- Run the development server.
bun run dev
- Open http://localhost:3000 with your browser to see the result.
- Change config in config.json
- Add markdown files in
_posts
folder. (e.g. a-demo-of-react-markdown.md) - Add images in
public/images
folder. - Convert images to webp format (Install cwebp)
Warning: This also replaces all occurances of
sh scripts/convert-to-webp.sh
.(jpg|jpeg|tif|tiff|png)
with.webp
in the markdown files - Build the project and host or deploy using https://vercel.com/
bun run build