https://github.com/highlight/example-vuejs3
An example Vue.js 3 application using Highlight.
https://github.com/highlight/example-vuejs3
Last synced: 4 months ago
JSON representation
An example Vue.js 3 application using Highlight.
- Host: GitHub
- URL: https://github.com/highlight/example-vuejs3
- Owner: highlight
- License: mit
- Created: 2021-06-29T21:57:55.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T05:26:03.000Z (about 3 years ago)
- Last Synced: 2025-10-22T08:58:04.620Z (7 months ago)
- Language: Vue
- Homepage: https://highlight-vue-js-3-example.netlify.app
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vue 3 and Highlight Example Application
## Install Highlight
```sh
npm install highlight.run
# or using Yarn
yarn add highlight.run
```
## Initialize Highlight
You will need to start Highlight as soon as your application starts. In this example, we initialize Highlight in [main.ts](./src/main.ts) before the application is mounted.
```vue
H.init("9mem3yd2", {
environment: "production",
enableStrictPrivacy: false,
});
H.identify("Vue.js 3 user", {
authenticated: false,
});
createApp(App).mount("#app");
```