Overview:
The Nuxt LogRocket is a npm package that provides session replays and product analytics for Nuxt apps. It is designed to work with Nuxt 3 and Nuxt Bridge and supports Pinia integration.
Features:
- Nuxt 3 & Nuxt Bridge support
- Supports Pinia integration
- Ability to run in development mode
Installation:
To install the Nuxt LogRocket package, follow these steps:
- Add the
nuxt-logrocketdependency to your project. - Add
nuxt-logrocketto the modules section of yournuxt.config.tsfile.
Example:
npm install @my-scope/nuxt-logrocket
// nuxt.config.ts
export default {
modules: [
'@my-scope/nuxt-logrocket',
],
}
Summary:
The Nuxt LogRocket package provides session replays and product analytics for Nuxt apps. It supports Nuxt 3 and Nuxt Bridge, and integrates with Pinia. It can be easily installed using npm and added to the modules section of the nuxt.config.ts file. With Nuxt LogRocket, developers can get valuable insights into their Nuxt apps and improve their user experience.