0.1.3 • Published 3 years ago

vue-web-vitals v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

📊 vue-web-vitals

A small plugin to track core web vitals in Vue.js projects

License Version Downloads

🦄 Usage

Install the dependency

yarn add vue-web-vitals

Add it to wherever you create/access your vue-router instance

// main.ts
import { createRouter } from "vue-router";
import { useVitals } from "vue-web-vitals";

const router = createRouter({
  // ...
});

useVitals({ router });

⚠️ Requirements

This module currently has only been tested on Vue 3.x / Vue Router 4.x. While the module MAY work, support is not guarenteed.

✨ Inspiration

nuxt-community/web-vitals-module

isabella232/nuxt-plugin-vercel

0.1.3-beta.2

3 years ago

0.1.2-beta.2

3 years ago

0.1.3-beta.1

3 years ago

0.1.2-beta.3

3 years ago

0.1.2

3 years ago

0.1.2-beta.1

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago