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 at
  • packages/ui is a package that exports the button you see below
  • packages/utils is a package that exports a function that generates random colors. Click the button to see it in action