'use client' import Link from 'next/link' import { ArrowLeftIcon } from '@ciphera-net/ui' export default function VueIntegrationPage() { return (
Integrating Pulse with Vue.js is straightforward. You can add the script to your index.html file.
Add the script tag to the <head> section of your index.html file. This works for both Vue 2 and Vue 3 projects created with Vue CLI or Vite.
{`
My Vue App
`}
For Nuxt.js applications, you should add the script to your nuxt.config.js or nuxt.config.ts file.
{`export default defineNuxtConfig({
app: {
head: {
script: [
{
src: 'https://pulse.ciphera.net/script.js',
defer: true,
'data-domain': 'your-site.com'
}
]
}
}
})`}