https://github.com/kamaroly/fair-price
https://github.com/kamaroly/fair-price
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kamaroly/fair-price
- Owner: kamaroly
- Created: 2019-11-04T09:33:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-03T11:32:06.000Z (over 6 years ago)
- Last Synced: 2025-06-28T02:04:09.536Z (12 months ago)
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tailwind CSS Playground
A simple starter project for playing around with Tailwind in a proper PostCSS environment.
To get started:
1. Clone the repository:
```bash
git clone https://github.com/tailwindcss/playground.git tailwindcss-playground
cd tailwindcss-playground
```
2. Install the dependencies:
```bash
# Using npm
npm install
# Using Yarn
yarn
```
3. Start the development server:
```bash
# Using npm
npm run serve
# Using Yarn
yarn run serve
```
Now you should be able to see the project running at localhost:8080.
4. Open `public/index.html` in your editor and start experimenting!
## Building for production
Even though this isn't necessarily a starter kit for a proper project, we've included an example of setting up both [Purgecss](https://www.purgecss.com/) and [cssnano](https://cssnano.co/) to optimize your CSS for production.
To build an optimized version of your CSS, simply run:
```bash
# Using npm
npm run production
# Using Yarn
yarn run production
```
After that's done, check out `./public/build/tailwind.css` to see the optimized output.