⚡ Vite Plugin (for single and multi-page sites)

I’ve just noticed that resently another Kirby Vite plugin has been shared by @flokosiol :tada: but still wanted to share my solution:

Kirby Vite is a set of vite helper functions that work both with single page und multi page setups.

    <?= vite()->client() ?>
    <?= vite()->css() ?>
    <?= vite()->js() ?>

Use one of the kits to get started:

Together with vite live reload plugin your dev server gets also reloaded as soon as you change a kirby specific file:

1 Like