A static site starter template using Tailwind CSS and Gulp.
MIT License
Bot releases are visible (Hide)
Published by harvanchik over 3 years ago
Published by harvanchik over 3 years ago
Published by harvanchik over 3 years ago
I added a pipe in the gulp task that copies over the images to also optimize the images as well. This package is gulp-image.
I also updated the README.md to include updated information about changes in the previous release.
Published by harvanchik over 3 years ago
In this update, I have updated TailwindCSS to v2.2.0. There are tons of new features in this release, so check that out.
They also vastly improved their CLI, so I have ditched using PostCSS CLI in favor of Tailwind's CLI. Internally, it still uses PostCSS and Autoprefixer; however, these dependencies are no longer required in this project.
I will be releasing an update soon that will add some features to the gulp task.
Published by harvanchik over 3 years ago
I updated the HTML document title from Document
to TailwindCSS Static Site Template
. In the viewport meta tag, I included viewport-fit=cover
so that the display works on iPhone/mobile screens.
Published by harvanchik over 3 years ago
Unbeknownst to me, the repository was missing the folder structure in the assets folder which would force the user to assume the structure and names of the folders to allow Gulp to work properly. Yes, you could just look in the gulpfile.js for the folder names, but the point of this template is to make project setup minimal if not completely absent. In order to have these empty folders revisioned by Git, they must contain at least one file, so I added a .gitignore file in each asset folder. You can simply delete, hide, or ignore these files after cloning the repository.
I also made a slight change to the JavaScript minify task in Gulp. It will now convert double quotes to single quotes when applicable.
The NPM script prod
will now run PostCSS in "verbose" mode. This simply outputs some extra information in the terminal while it executes. It doesn't hurt to have more information there.
Published by harvanchik over 3 years ago
I fixed some typos, reworded some things to sound more concise, and linked helpful images in the README.md
.
Published by harvanchik over 3 years ago
Updated the @tailwindcss/forms version from v0.3.2 to v0.3.3.
Published by harvanchik over 3 years ago
This marks the first stable version of the static site TailwindCSS template. I fixed some errors regarding the gulp plugin not correctly rewriting revisioned files into the HTML. I also fixed a dumb mistake I made with the gulp destination file. It should now output correctly into the 'dist' folder or whatever folder you've renamed it to.