--- title: "Vue.js" description: "Add Pulse privacy-first analytics to your Vue.js app. Works with Vue 2, Vue 3, Vue CLI, and Vite." category: "framework" brandColor: "#4FC08D" officialUrl: "https://vuejs.org" relatedIds: ["nuxt", "vitepress"] date: "2026-03-28" --- Add the script to your `index.html` — works for both Vue CLI and Vite-based projects. --- ## Add the Pulse script to index.html Both Vue CLI and Vite use an `index.html` as the entry point. Simply add the Pulse script inside the `` tag. ```html filename="index.html" My Vue App
``` Looking for Nuxt? Check the dedicated [Nuxt guide](/integrations/nuxt).