Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/program247365/tailwindcss-now

A little bash script to get you started experimenting with TailwindCSS now!
https://github.com/program247365/tailwindcss-now

Last synced: about 6 hours ago
JSON representation

A little bash script to get you started experimenting with TailwindCSS now!

Awesome Lists containing this project

README

        

# 🌈 TailwindCSS Now

> A bash script that gets you developing in TailwindCSS in under eight seconds!

![CLI Output](./screenshots/cli-output.png "CLI Output")

![Start Page](./screenshots/start-page.png "Start Page")

## Getting Started

### One Liner!

`bash <(curl -s https://raw.githubusercontent.com/program247365/tailwindcss-now/main/twnow.sh)`

### Clone Locally
1. `git clone https://github.com/program247365/tailwindcss-now.git`
2. Run `cd tailwdincss-now && ./twnow.sh`
3. Edit your `src/index.html` to see instant changes!

## How It Works

* The bash script writes out all the files you need in one go - writes files, starts server to watch live changes:
* `package.json` with NPM scripts
* `npm run start` which serves and then opens the page for you at [http://127.0.0.1:8080/](http://127.0.0.1:8080/)
* `npm run serve` which watches your changes with [live-server](https://github.com/compodoc/live-server)
* `index.html` file with TailwindCSS lib via CDN, and config embedded in the HTML