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

https://github.com/khtdr/tailwind-dev-server

tailwind css dev-server
https://github.com/khtdr/tailwind-dev-server

dev-server reloading tailwind tailwindcss

Last synced: 10 months ago
JSON representation

tailwind css dev-server

Awesome Lists containing this project

README

          

# Tailwind CSS dev-server

Simple quick way to get started learning and playing with Tailwind CSS

_Example output while running dev server:_

- No "transpiling" configuration is needed (or used).
- No build tools need to be set up.
- Tiny reactive web server: ~115 lines of code with lots of comments.
- Minimal dependencies:
- `chalk` for color,
- `socket.io` for **server** «—» **browser** communication,
- and `tailwindcss` of course.

## Installation
```bash
git clone https://github.com/khtdr/tailwind-dev-server.git
cd tailwind-dev-server
yarn
```

## Running
```bash
yarn start
```

Then open your browser to: [http://localhost:8080](http://localhost:8080)

## Development

Edit any of the following entry point files:
- [index.html](https://github.com/khtdr/tailwind-dev-server/blob/master/index.html)
- [style.css](https://github.com/khtdr/tailwind-dev-server/blob/master/style.css)
- [tailwind.js](https://github.com/khtdr/tailwind-dev-server/blob/master/tailwind.js)

Changes will be recompiled and automatically refreshed in your browser.

Create any additional HTML files as needed, using
[index.html](https://github.com/khtdr/tailwind-dev-server/blob/master/index.html)
as a reference.

## Building
If you like what you see and want to save it and use it, run:
```bash
yarn build
```

And use your newly built `./tailwind-bundle.css` stylesheet.