https://github.com/pbteja1998/jobs-board
https://github.com/pbteja1998/jobs-board
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pbteja1998/jobs-board
- Owner: pbteja1998
- Created: 2020-08-24T16:57:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-11T03:24:04.000Z (about 5 years ago)
- Last Synced: 2024-12-28T14:37:22.959Z (10 months ago)
- Language: TypeScript
- Homepage: https://jobs-board.bhanuteja.dev/
- Size: 403 KB
- Stars: 2
- Watchers: 3
- 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
### Using `create-next-app`
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
```### Download manually
Download the example:
```bash
curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-tailwindcss
cd with-tailwindcss
```Install it and run:
```bash
npm install
npm run dev
# or
yarn
yarn dev
```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.