Today I found out about "npm run preview"
Never heard of it before, stumbled upon it while implementing pagefind into my blog.
Even though this might sound silly, I only today found out about npm run preview.
Up until now, I only used npm run buildand npm run devto build and develop this blog. After implementing pagefind, I could not get the search bar to show up using npm run dev. Only then I read about npm run preview(which has to be run after a npm run buildand shows my search bar just find after npm run buildbuilt the pagefind index file.
You Might Also Like
Why I started this blog and what my current blogging process looks like
This post goes into detail why I started my blog to publish summaries of interesting books, articles, podcasts or audiobooks I consume.
Add Giscus to A Blog In A Private GitHub Repository
Tutorial on how to add Giscus to a blog which is hosted in a private GitHub repository.
PagesCMS as CMS for this blog
After many tries in choosing a simple CMS which works for this blog, I've decided to try PagesCMS.