Accelerate Your Frontend Development Workflow with NX and NextJS

Marcos Henrique da Silva
12 min readJun 23, 2023

A fast guide to using monorepo and Next.js together

generated with midjourney

Mastering frontend development in a monorepo environment has always been challenging. With NX and NextJS, you can unlock a new level of control and agility.

In this article, we will explore how NX’s monorepo and NextJS’s frontend can improve the development speed. Learn how this dynamic duo can elevate your website development from an efficient code sharing to rapid iteration.

It has been a while since my last post. To switch back from backend articles, I decided to give it a shot and discuss frontend development. It is a bit challenging to talk about frontend development because it usually goes to show off an excellent case in the end, or at least something meaningful for you as a developer.

To make this article helpful, first, I want to point out that it will be an introductory point for monorepo and will be very influenced by projects I worked on using this strategy. It doesn’t mean that can be your best option, but I hope it can enlighten your next project.

This article targets mostly beginners in React or people who never worked with NX before. We will scaffold a nice sandbox configured with Typescript, server-side rendering out of the box, Tailwind for CSS, and deploying it to…

--

--