This package has been deprecated

Author message:

package moved to new location https://github.com/productdevbookcom/v-plausible

@huntersofbook/plausible-vue
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

alt text

Plausible Vue


@huntersofbook/plausible-vue npm


huntersofbook offers specific tools for the vue ecosystem.

Usage Vue 3

import { createPlausible } from '@huntersofbook/plausible-vue'

const plausible = createPlausible({
  init: {
    domain: 'domain.com',
    apiHost: 'https://host.com',
    trackLocalhost: true,
  },
  settings: {
    enableAutoOutboundTracking: true,
    enableAutoPageviews: true,
  },
  partytown: false,
})

app.use(plausible)

Thanks

Thanks to @surmon-china, this project loadScript function is heavily inspired by surmon-china.github.io.

License

MIT License © 2022-PRESENT productdevbook

Package Sidebar

Install

npm i @huntersofbook/plausible-vue

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

7.98 kB

Total Files

5

Last publish

Collaborators

  • productdevbook