An example monorepo bootstrapped to leverage packages and apps when building multiple apps from a shared design system.
This examples shows an approach to build two separate apps, using a shared design system. In this case a desktop and mobile application.
desktop
: a Next.js appmobile
: another Next.js appdesign-system
: React component library shared by both desktop
and moble
apps, using Tailwind for stylingconfig
: eslint
configurations (includes eslint-config-next
and eslint-config-prettier
)tsconfig
: tsconfig.json
s used throughout the monorepoEach package/app is 100% TypeScript.