JacobSamro / nuxt3-microsoft-clarity

Microsoft Clarity for Nuxt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microsoft Clarity for Nuxt 2 & 3

Installation

Add nuxt-microsoft-clarity dependency to your project:

yarn add nuxt-microsoft-clarity
npm install nuxt-microsoft-clarity

Then, add nuxt-microsoft-clarity to the modules section of nuxt.config.ts:

{
  modules: [
    'nuxt-microsoft-clarity'
  ],
  clarity: {
    id: '<clarity-project-id>'
  }
}

Contributing

  • Run npm run dev:prepare to generate type stubs.
  • Use npm run dev to start playground in development mode.

About

Microsoft Clarity for Nuxt

License:MIT License


Languages

Language:TypeScript 76.4%Language:JavaScript 14.1%Language:Vue 9.4%