1. 11
    Generate an Nx Library to Implement our Markdown Rendering for our Next.js App
    5m 42s

Generate an Nx Library to Implement our Markdown Rendering for our Next.js App

Share this video with your friends

Send Tweet

In a plain normal Next.js application you would place your markdown processing logic somewhere within a folder insider your Next application. We could do the very same in an Nx monorepo, however, we get much more benefits by moving it into a dedicated library in the libs folder.

Nx workspace libraries allow you to nicely encapsulate your functionality as well as to easily share it with other apps that might potentially live in our workspace. In this lesson, we learn how to generate a new library with Nx generators and how to import the library into our Next.js application.

Prefer to read along as well? Here's the accompanying article.