2023-04-18
2768
#nextjs
Oghenetega Denedo
144428
Apr 18, 2023 ⋅ 9 min read

Learn how to build a monorepo in Next.js

Oghenetega Denedo I'm a curiosity-driven software engineer with a focus on building reliable software that's easy to maintain and follows industry best practices.

Recent posts:

How to solve package validation pain with Publint

Broken npm packages often fail due to small packaging mistakes. This guide shows how to use Publint to validate exports, entry points, and module formats before publishing.

Rahul Chhodde
Feb 12, 2026 ⋅ 5 min read
feb 11 the replay

The Replay (2/11/26): React performance wins, fine-grained frameworks, and more

Discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the February 11th issue.

Matt MacCormack
Feb 11, 2026 ⋅ 34 sec read
react optimization shruti kapoor

A complete guide to React performance optimization

Cut React LCP from 28s to ~1s with a four-phase framework covering bundle analysis, React optimizations, SSR, and asset/image tuning.

Shruti Kapoor
Feb 11, 2026 ⋅ 9 min read
fine grained everything rich harris

Fine Grained Everything, and what comes after React Server Components

Rich Harris (creator of Svelte) joined PodRocket this week to unpack his Performance Now talk, Fine Grained Everything.

Elizabeth Becz
Feb 10, 2026 ⋅ 55 sec read
View all posts

8 Replies to "Learn how to build a monorepo in Next.js"

  1. hi! excellent tutorial !
    I have a little bug at the end of tut, after config next.config.js file and restart.
    ->Module not found: Can’t resolve ‘ui’ -> import { Button } from “ui”
    (the root node_modules is ok, ‘ui’ is present)

    1. Thanks for your comment! We’ve updated the article with an additional code snippet from the author to address this.

  2. I’m facing a problem with the ESLint configuration. I followed the tutorial to the letter, but it seems ESLint now uses a flat config format, and stipulates a single `eslint.config.js` file in the root directory. Couldn’t find a workaround.

Leave a Reply

Hey there, want to help make our blog better?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now