Skip to content

Commit 1b85454

Browse files
Update README.md
1 parent 75ecd10 commit 1b85454

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

packages/vue/README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,23 @@ import { TraceoClient } from "@traceo-sdk/vue";
1919

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

22-
new TraceoClient({
23-
projectId: <your_project_id>,
24-
apiKey: <app_api_key>,
25-
url: <you_traceo_instance_url>
22+
new TraceoClient(<app_api_key>, {
23+
host: <traceo_host>
2624
});
2725

2826
// your code
2927

3028
app.mount("#app");
3129
```
3230

31+
### Performance
32+
To enable collect of web-vitals data, you have to set performance param to true like below:
33+
```ts
34+
new TraceoClient(<app_api_key>, {
35+
host: <traceo_host>,
36+
performance: true
37+
});
38+
```
39+
3340
## Support
34-
Feel free to create Issues, Pull Request and Discussion. If you want to contact with the developer working on this package click [here](mailto:piotr.szewczyk.software@gmail.com).
41+
Feel free to create Issues, Pull Request and Discussion.

0 commit comments

Comments
 (0)