1.0.2 • Published 1 year ago

vite-plugin-ga v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Vite Plugin GA

Append GoogleAnalytics html code to your entry template.

Usage

npm i -D vite-plugin-ga
import vitePluginGA from 'vite-plugin-ga';
import { defineConfig } from 'vite';

export default defineConfig({
  base: './',
  plugins: [
    vitePluginGA({
      id: 'G-xxx',
      entryNames: ['index.html']
    }),
  ],
});
1.0.2

1 year ago

1.0.1

2 years ago

1.0.1-beta.0

2 years ago