Airbnb Homepage build with Tailwind CSS
A simple starter project for playing around with Tailwind in a proper PostCSS environment. I used Airbnb as a source of inspiration to teach how to use the framework.
To get started:
Clone the repository:
git clone https://github.com/justalever/tailwind-airbnb tailwind-airbnb cd tailwind-airbnb
Install the dependencies:
# Using npm npm install # Using Yarn yarn
Start the development server:
# Using npm npm run serve # Using Yarn yarn run serve
Now you should be able to see the project running at localhost:8080.
public/index.htmlin your editor and start experimenting!
Building for production
To build an optimized version of your CSS, simply run:
# 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.