You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/vue/README.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,16 +19,23 @@ import { TraceoClient } from "@traceo-sdk/vue";
19
19
20
20
const app =createApp({ ... });
21
21
22
-
newTraceoClient({
23
-
projectId: <your_project_id>,
24
-
apiKey: <app_api_key>,
25
-
url: <you_traceo_instance_url>
22
+
newTraceoClient(<app_api_key>, {
23
+
host: <traceo_host>
26
24
});
27
25
28
26
// your code
29
27
30
28
app.mount("#app");
31
29
```
32
30
31
+
### Performance
32
+
To enable collect of web-vitals data, you have to set performance param to true like below:
33
+
```ts
34
+
newTraceoClient(<app_api_key>, {
35
+
host: <traceo_host>,
36
+
performance: true
37
+
});
38
+
```
39
+
33
40
## 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