jekyll-vite-minima

jekyll-vite-minima

⚡️🩸 Use Vite.js in Jekyll minima theme as your assets pipeline


Jekyll Minima ➕ Vite.js

This repo demonstrates how to setup Vite Ruby in a Jekyll site using the minima default theme.

You may also use it as a starter for your site or blog.

Step by Step 🥾

Check the commit history for a step-by-step recap:

  1. jekyll new
  2. add webrick to the Gemfile
  3. upgrade minima to the latest version, which supports custom_head.html
  4. add jekyll-vite to the Gemfile
  5. run bundle exec vite install
  6. uncomment exclude: in _config.yml
  7. add ViteRuby tags to custom-head.html

Additional Resources 📖

Visit the jekyll-vite documentation website for more information.

If you would like to process the minima stylesheets with Vite, see this blog post by @posiczko.

License

The gem is available as open source under the terms of the MIT License.