vite-plugin-umami
v0.2.0
Published
Umami Analytics loader for vite
Downloads
4
Readme
vite-plugin-umami
Umami Analytics load for vite, includes the Umami Tag in the production build.
Inspired by vite-plugin-radar
Install
npm i --save-dev vite-plugin-umami # yarn add -D vite-plugin-umami
Add it to your vite.config.js
// vite.config.js
import ViteUmami from 'vite-plugin-umami'
export default {
plugins: [
ViteUmami({
// Umami script injection
umami: {
id: "x-y-z",
src: "url",
},
})
],
}