Published on

Installation 💿

Authors

Add this line to your site’s Gemfile:

gem 'jekyll-vite'

Then, run:

bundle install
bundle exec vite install

This will add the plugin in _config.yml:

plugins:
  - jekyll/vite

It will also generate a sample setup in _layouts/default.html (if it exists):

<head>
  <!-- meta tags, etc -->
  {% vite_client_tag %}
  {% vite_javascript_tag application %}
</head>

If you are using a theme such as minima, you will want to provide a custom head with these liquid tags. Or use a starter template

It also: