Best practices on using Next.js in a TypeScript monorepo
In this monorepo app we have a single site with two installed dependencies that are available in the same repository.
app
is the current Next.js site you're looking atpackages/ui
is a package that exports the button you see belowpackages/utils
is a package that exports a function that generates random colors. Click the button to see it in action