Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/drehimself/tailwind-examples

A collection of web pages built in Tailwind CSS v0.7.4
https://github.com/drehimself/tailwind-examples

tailwind-css tailwindcss

Last synced: 3 months ago
JSON representation

A collection of web pages built in Tailwind CSS v0.7.4

Awesome Lists containing this project

README

        

For Tailwind CSS v1.0 examples, check out [my other repo](https://github.com/drehimself/tailwind-v1-examples).

# Tailwind CSS Examples

A collection of web pages and web components built in Tailwind CSS v0.7.4.

Website: [https://tailwindcss.andredemos.ca](https://tailwindcss.andredemos.ca)

Screencasts: [YouTube link](https://www.youtube.com/playlist?list=PLEhEHUEU3x5p8cxOJ27w20LffCknp935L)

## Installation

I'm using Laravel for these examples. For me, it was the fastest way to get Tailwind CSS running.

1. Clone the repo and `cd` into it
1. `composer install`
1. Rename or copy `.env.example` file to `.env`
1. `php artisan key:generate`
1. `npm install`
1. `npm run dev` or `npm run watch`
1. `php artisan serve` or use Laravel Valet or Laravel Homestead
1. Visit `localhost:8000` in your browser

## If you're not using Laravel

Check out the [Tailwind CSS Docs](https://tailwindcss.com/) on how to get setup in your environment.

Here are the relevant files:

- [HTML Markup](https://github.com/drehimself/tailwind-examples/tree/master/resources/views) - These are purely HTML. They DO NOT have any PHP syntax in them.
- [CSS](https://github.com/drehimself/tailwind-examples/tree/master/resources/assets/css) - The CSS that Tailwind CSS will compile.
- [tailwind.js](https://github.com/drehimself/tailwind-examples/blob/master/tailwind.js) - The Tailwind config file.