Minh-Phuc Tran's Blog

HomeBadges
Blog Author Picture

Minh-Phuc Tran

13 followers

Software engineer. Documenting my journey at phuctm97.com. Tweets at @phuctm97.

Make Copyable Code Block For Your Blog

Jan 31, 20213 min read

A couple of days ago I implemented a feature to allow viewers on my website to easily copy code blocks on my website. Personally, it is quite a useful feature for a technical blog. In this article, I'm going to share how you can implement the same fo...

MDX (Unified) Mutating Options Object Cost Me 2 Hours

Jan 28, 20218 min read

A couple of days ago, I got into a very annoying issue while using MDX in my Next.js website. It cost me almost 2 hours to resolve. Context First, let's quickly go through some technical concepts in case you didn't work with MDX and Next.js a lot: M...

How-to Integrate Plausible Analytics With Next.js and Vercel

Jan 25, 20214 min read

Plausible is a privacy-focused analytics solution for modern websites. It and Fathom are probably 2 biggest names in the space. I chose Plausible because its pricing is more beginner-friendly and it is also open-source. This article is a quick snippn...

How-to Keep Your Packages Always Up-to-date with Dependabot

Jan 15, 20214 min read

One of the ways that I do to keep myself up-to-date with the latest technologies is to configure automatic dependencies upgrade, which helps in 2 ways: Keep my products/packages always up-to-date, especially avoid potential vulnerability as soon as ...

Simple Script Cut 50% Size Of My React Website

Jan 12, 20214 min read

Hi friends, it's @phuctm97 again. It has been 3 days since my last post, it's my first week at my new job so things have been a little hectic 🤓. Anyway, today article is a very simple but kinda mindblowing script that I did a couple of days ago in m...

Write My First Tailwind CSS Plugin

Jan 9, 20217 min read

Building my website for a while using Tailwind CSS, I started to have more and more specific needs like backdrop-filter to create blur overlay effects, autofill pseudo-class to style form fields when they have been autocompleted, etc, and these use c...

© 2021 Minh-Phuc Tran's Blog

PrivacyTerms
Proudly part of