A sample setup of a Turborepo monorepository with shared Tailwind CSS configurations.
- To get this project files locally on your machine, you can clone this repository by running the following command on your terminal or command line:
git clone https://github.com/cvrlnolan/turborepo-tailwindcss.git
- Install all the dependency packages found in the
package.json
files across the monorepo apps by runningyarn install
from the project root directory. - To start the development servers of all the applications in your monorepo in parrallel, simply run
yarn dev
. To start an individual app the monorepo, run:yarn workspace <name> dev
(name: is found/set in the package.json for each individual app folder)
apps/docs
: a sample documentation Next.js appapps/web
: a sample web Next.js apppackages/ui
: a stub React component library shared by bothweb
anddocs
applicationspackages/config
: sharedtailwindcss
,eslint
configurations (includeseslint-config-next
,eslint-config-prettier
,eslint-plugin-prettier
etc..)packages/tsconfig
:tsconfig.json
s which can be used by extending them throughout the monorepo