nuxt-applicationinsights
Application insights integration for Nuxt
42,344
| Install | |
|---|---|
npm install nuxt-applicationinsights |
|
| Latest Version: | 1.0.2 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Aug 16, 2026 |
| Links: | npm |
Maintainer: huang-julien
nuxt-applicationinsights
Microsoft Application Insight integration for Nuxt.
Features
- nitro-applicationinsights integration
- @microsoft/applicationinsights-web integration
Quick Setup
- Add
nuxt-applicationinsightsdependency to your project
# Using pnpm
pnpm add -D nuxt-applicationinsights
# Using yarn
yarn add --dev nuxt-applicationinsights
# Using npm
npm install --save-dev nuxt-applicationinsights
- Add
nuxt-applicationinsightsto themodulessection ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'nuxt-applicationinsights'
]
})
That's it! You can now use nuxt-applicationinsights in your Nuxt app ✨
Usage
nitro-applicationinsights will track each request and errors while @microsoft/applicationinsights-web will track client-side events.
nuxt app context
Application insights client is available at useNuxtApp().$appInsights.
It is accessible in server and client environment. However types are not the same since it is a TelemetryClient from applicationinsights server side and an ApplicationInsights from @microsoft/applicationinsights-web client-side.
Development
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 1.0.2 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT | |
| 0.7.0 | MIT | |
| 0.6.1 | MIT | |
| 0.6.0 | MIT | |
| 0.5.3 | MIT | |
| 0.5.2 | MIT | |
| 0.5.1 | MIT | |
| 0.5.0 | MIT | |
| 0.4.1 | MIT | |
| 0.4.0 | MIT | |
| 0.3.4 | MIT | |
| 0.3.3 | MIT | |
| 0.3.2 | MIT | |
| 0.3.1 | MIT | |
| 0.3.0 | MIT | |
| 0.2.1 | MIT | |
| 0.2.0 | MIT | |
| 0.1.2 | MIT | |
| 0.1.1 | MIT | |
| 0.1.0 | MIT |