Based on Jekyll Starter Tailwind.
A starter kit for using Tailwind with Jekyll that includes:
-
A Jekyll blog theme
-
A Gulpfile that does the following:
- Compiles Tailwind
- Strips out unused CSS using Tailwind's
purge
option - Runs Autoprefixer
- Minifies your CSS
- Compiles Jekyll
- Runs Browsersync for local development
bundle install
to install Ruby gemsnpm ci
to install npm packages listed inpackage-lock.json
- Set index.html layout to home and create your posts in the _posts directory
npm run start
ornpm run dev
to compile the site with development settings and run BrowserSync
npm run build:dev
to compile the site with development settingsnpm run build:production
ornpm run build
to compile the site for production
You can deploy your site to netlify.
Note: By default, Netlify uses jekyll build
as the build command. The included netlify.toml
file will override it to use npm run build
.