Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/henriqpohl/turborepo-shadcn-ui-tailwindcss
Turborepo starter with Shadcn/UI & Tailwind CSS pre-configured for shared ui components.
https://github.com/henriqpohl/turborepo-shadcn-ui-tailwindcss
monorepo monorepo-example monorepo-starter next-typescript nextjs pnpm pnpm-monorepo react react-typescript reactjs shadcn-ui tailwind tailwindcss turbo turbo-starter turborepo turborepo-example turborepo-starter typescript
Last synced: 23 days ago
JSON representation
Turborepo starter with Shadcn/UI & Tailwind CSS pre-configured for shared ui components.
- Host: GitHub
- URL: https://github.com/henriqpohl/turborepo-shadcn-ui-tailwindcss
- Owner: henriqpohl
- License: mit
- Created: 2023-12-11T09:21:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-25T18:16:20.000Z (6 months ago)
- Last Synced: 2024-06-26T17:01:07.340Z (6 months ago)
- Topics: monorepo, monorepo-example, monorepo-starter, next-typescript, nextjs, pnpm, pnpm-monorepo, react, react-typescript, reactjs, shadcn-ui, tailwind, tailwindcss, turbo, turbo-starter, turborepo, turborepo-example, turborepo-starter, typescript
- Language: JavaScript
- Homepage:
- Size: 398 KB
- Stars: 40
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-shadcn-ui - turborepo-shadcn-ui-tailwindcss - Turborepo starter with shadcn/ui & Tailwind CSS pre-configured for shared ui components. (Boilerplates)
- awesome-shadcn-ui - turborepo-shadcn-ui-tailwindcss - Turborepo starter with shadcn/ui & Tailwind CSS pre-configured for shared ui components. (Boilerplates / Templates / Portfolios)
- awesome-shadcn-ui - turborepo-shadcn-ui-tailwindcss - Turborepo starter with shadcn/ui & Tailwind CSS pre-configured for shared ui components. (Templates)
README
[![image](https://res.cloudinary.com/dvgb6dadg/image/upload/v1719326274/turborepo-tailwindcss-shadcn-ui/cover-turborepo-project_vfha54.png)](https://github.com/henriqpohl/turborepo-shadcn-ui-tailwindcss.git)
# đ Turborepo starter NextJS with Shadcn/UI & Tailwind CSS
![Static Badge](https://img.shields.io/badge/Turborepo-2.2.3-orangered?logo=turborepo&link=https%3A%2F%2Fgithub.com%2Fvercel%2Fturbo%2Freleases%2Ftag%2Fv2.2.3)
![Static Badge](https://img.shields.io/badge/1.0-181818?logo=shadcn%2Fui&label=shadcn%2Fui)
![Static Badge](https://img.shields.io/badge/3.4.14-blue?&logo=tailwindcss&label=Tailwind%20CSS&color=blue)
![Static Badge](https://img.shields.io/badge/14.2.17-181818?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyBmaWxsPSJ3aGl0ZSIgcm9sZT0iaW1nIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI%2BPHRpdGxlPk5leHQuanM8L3RpdGxlPjxwYXRoIGQ9Ik0xOC42NjUgMjEuOTc4QzE2Ljc1OCAyMy4yNTUgMTQuNDY1IDI0IDEyIDI0IDUuMzc3IDI0IDAgMTguNjIzIDAgMTJTNS4zNzcgMCAxMiAwczEyIDUuMzc3IDEyIDEyYzAgMy41ODMtMS41NzQgNi44MDEtNC4wNjcgOS4wMDFMOS4yMTkgNy4ySDcuMnY5LjU5NmgxLjYxNVY5LjI1MWw5Ljg1IDEyLjcyN1ptLTMuMzMyLTguNTMzIDEuNiAyLjA2MVY3LjJoLTEuNnY2LjI0NVoiLz48L3N2Zz4%3D&label=NextJS)
![Static Badge](https://img.shields.io/badge/pnpm-9.12.3-orange?link=https%3A%2F%2Fgithub.com%2Fpnpm%2Fpnpm%2&logo=PNPM&2Freleases%2Ftag%2Fv9.12.3)
![GitHub repo size](https://img.shields.io/github/repo-size/henriqpohl/turborepo-shadcn-ui-tailwindcss?color=green)
![GitHub Release](https://img.shields.io/github/v/release/henriqpohl/turborepo-shadcn-ui-tailwindcss?color=gold)Turborepo starter **NextJS** with **Shadcn/UI** & **Tailwind CSS** pre-configured for shared UI components powered by:
- [Turborepo](https://turborepo.org/)
- [Shadcn/UI](https://ui.shadcn.com/)
- [Tailwind CSS](https://tailwindcss.com/)
- [PNPM](https://pnpm.io/)> [!NOTE]
> This example uses `pnpm` as package manager.## đ Using this example
Clone the repository:
```sh
git clone https://github.com/henriqpohl/turborepo-shadcn-ui-tailwindcss.git
```Install dependencies:
```sh
cd turborepo-shadcn-ui-tailwindcss
pnpm install
```## đĻ What's inside?
This Turborepo includes the following packages/apps:
### Apps and Packages
- `docs`: a [Next.js](https://nextjs.org/) app
- `@repo/ui`: a stub React component library shared by applications inside of `apps` folder (đ powered by **Shadcn/UI** and **Tailwind CSS**)
- `@repo/eslint-config`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
- `@repo/typescript-config`: `tsconfig.json`s used throughout the monorepoEach package/app is 100% [TypeScript](https://www.typescriptlang.org/).
### Utilities
This Turborepo has some additional tools already setup for you:
- [TypeScript](https://www.typescriptlang.org/) for static type checking
- [ESLint](https://eslint.org/) for code linting
- [Prettier](https://prettier.io) for code formatting### đī¸ Build
To build all apps and packages, run the following command:
```sh
cd turborepo-shadcn-ui-tailwindcss
pnpm build
```### đģ Develop
To develop all apps and packages, run the following command:
```sh
cd turborepo-shadcn-ui-tailwindcss
pnpm dev
```### đ Remote Caching
Turborepo can use a technique known as [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching) to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.
By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can [create one](https://vercel.com/signup), then enter the following commands:
```sh
cd turborepo-shadcn-ui-tailwindcss
npx turbo login
```This will authenticate the Turborepo CLI with your [Vercel account](https://vercel.com/docs/concepts/personal-accounts/overview).
Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your Turborepo:
```sh
npx turbo link
```## âšī¸ Useful Links
Learn more about the power of **Turborepo**:
- [Tasks](https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks)
- [Caching](https://turbo.build/repo/docs/core-concepts/caching)
- [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching)
- [Filtering](https://turbo.build/repo/docs/core-concepts/monorepos/filtering)
- [Configuration Options](https://turbo.build/repo/docs/reference/configuration)
- [CLI Usage](https://turbo.build/repo/docs/reference/command-line-reference)Learn more about **Shadcn/UI**:
- [Documentation](https://ui.shadcn.com/docs)
- [Components](https://ui.shadcn.com/docs/components/accordion)## đ Found a Bug?
Uh-oh, looks like you stumbled upon a bug? No worries, we're here to squash it! Just head over to our issues section on GitHub and let us know what's up.