mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-11-03 00:53:53 +00:00
Bulk rename across 989 files: - Package names: posthog-js → @hanzo/insights, posthog-node → @hanzo/insights-node, etc. - Repository URLs: posthog/posthog-js → hanzoai/insights-js - Brand names: PostHog → Insights - File renames: 259 reference JSON files, source files, workflow files - Directory rename: eslint-plugin-posthog-js → eslint-plugin-insights Remaining: 8 refs to @posthog/rrweb-* (real npm deps, need fork+publish)
18 lines
388 B
Vue
18 lines
388 B
Vue
<template>
|
|
<div>
|
|
<h1>Welcome to the About Page</h1>
|
|
<p>This is the about page of our Nuxt 3 application.</p>
|
|
<nuxt-link to="/">
|
|
<button>Go to Index Page</button>
|
|
</nuxt-link>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const { $insights } = useNuxtApp();
|
|
if ($insights) {
|
|
const insights = $insights()
|
|
insights?.capture('<event_name>')
|
|
}
|
|
</script>
|