@traceo-sdk/vue
TypeScript icon, indicating that this package has built-in type declarations

0.34.1 • Public • Published

Traceo SDK for Vue

Library for integration with Traceo Platform.

Installation

To install this SDK add this package to your project like below:

yarn add @traceo-sdk/vue

or

npm install @traceo-sdk/vue

Usage

To use this SDK initialize TraceoClient in your application.

import { TraceoClient } from "@traceo-sdk/vue";

const app = createApp({ ... });

new TraceoClient(<project_api_key>, {
    host: <traceo_host>
});

// your code

app.mount("#app");

Performance

To enable collect of web-vitals data, you have to set performance param to true like below:

new TraceoClient(<project_api_key>, {
    host: <traceo_host>,
    performance: true
});

Support

Feel free to create Issues, Pull Request and Discussion.

Package Sidebar

Install

npm i @traceo-sdk/vue

Weekly Downloads

0

Version

0.34.1

License

MIT

Unpacked Size

4.07 kB

Total Files

10

Last publish

Collaborators

  • piotr-szewczyk