https://github.com/uvacoder/tanstack-cards
https://github.com/uvacoder/tanstack-cards
abccomponents cards vercel
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uvacoder/tanstack-cards
- Owner: Uvacoder
- Created: 2022-01-03T04:31:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-17T10:21:34.000Z (over 3 years ago)
- Last Synced: 2025-01-24T06:09:25.817Z (4 months ago)
- Topics: abccomponents, cards, vercel
- Language: JavaScript
- Homepage: https://tanstack-cards.vercel.app
- Size: 1.86 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tailwind CSS example
This is an example of using [Tailwind CSS](https://tailwindcss.com) in a Next.js project.
## Deploy your own
Deploy the example using [Vercel](https://vercel.com):
[](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-tailwindcss)
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
```bash
npx create-next-app --example with-tailwindcss with-tailwindcss-app
# or
yarn create next-app --example with-tailwindcss with-tailwindcss-app
```Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
## Notes
This example is a basic starting point for using [Tailwind CSS](https://tailwindcss.com) with Next.js. It includes the following [PostCSS](https://github.com/postcss/postcss) plugins:
- [postcss-preset-env](https://preset-env.cssdb.org/) - Adds stage 2+ features and autoprefixes
To control the generated stylesheet's filesize, this example uses Tailwind CSS' [`purge` option](https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css) to remove unused CSS.