I keep having to look up how to change the same deprecated functions, so I thought I’d make myself a list here for quick reference.
Introduction When building a modern web app with WordPress and Next.js, GraphQL is an excellent choice for fetching content. Many developers rely on libraries like Apollo Client to manage GraphQL queries, but I decided to simplify things and avoid adding another dependency. Fetching posts directly with fetch in Next.js turned out to be just as […]
I found a few examples online for creating a code block with syntax highlighting and a copy-to-clipboard button, but I couldn’t get them to work straight away. So I thought, “It can’t be that hard to make this myself.” After some trial and error, I came up with these two components: CodeBlock and CopyToClipboard. Here’s […]
In this guide, I’ll walk through the steps to add Adobe Fonts (Typekit) to your Next.js project styled with Tailwind CSS. Adobe Fonts offers a wide range of high-quality fonts that can enhance your web project. I’m already subscribed to Adobe Creative Cloud, which means I can access Access to the full Adobe Fonts library […]
I based this post on this answer on Stackoverflow my_module.routing.yml MyModuleController