An open API service indexing awesome lists of open source software.

https://github.com/highlight/example-vuejs3

An example Vue.js 3 application using Highlight.
https://github.com/highlight/example-vuejs3

Last synced: 3 months ago
JSON representation

An example Vue.js 3 application using Highlight.

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");
```