d5718d70a6 | ||
---|---|---|
_includes | ||
_layouts | ||
src | ||
.babelrc | ||
.gitignore | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.md | ||
README.md | ||
_config.yml | ||
gulpfile.babel.js | ||
index.html | ||
package-lock.json | ||
package.json | ||
tailwind.config.js |
README.md
Tailwind Jekyll Starter
A starter kit for using Tailwind (v0.6.1) with Jekyll that includes:
-
A barebones Jekyll starter theme
-
A Gulp file with a default task that does the following:
- Builds Tailwind
- Strips out unused CSS using Purgecss
- Runs Autoprefixer
- Minifies your CSS
- Builds Jekyll
- Runs Browsersync for live reload
Example
I used this starter for my personal blog. See the code here.
What is Tailwind?
"Tailwind is a utility-first CSS framework for rapidly building custom user interfaces." – Tailwind
What is Jekyll?
"Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, without all the complexity. Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served by Apache, Nginx or another web server. Jekyll is the engine behind GitHub Pages, which you can use to host sites right from your GitHub repositories." – Jekyll
Requirements
Getting started
bundle install
to install Ruby gemsnpm install
to install npm packagesgulp
to run the default Gulp task
Need your CSS in the <head>
? Check out the internal style version of this starter kit.