Detecting Harlem programatically #67
Replies: 3 comments
-
Hey @andrewcourtice |
Beta Was this translation helpful? Give feedback.
-
Hi @Lexpeartha Thanks for taking the time to look into this. I will be releasing version 2.4 in the coming weeks which will include a global object you can use to detect Harlem with the Vue telemetry API. The global object is likely to have a signature similar to this: window.$harlem.createInstance() This may change so I will keep you updated. Thanks 👍 |
Beta Was this translation helpful? Give feedback.
-
@Lexpeartha The change you requested is now in. v3.0.0+ contains a You should now be able to check for that property for Vue telemetry. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm considering adding a PR to vue-telescope-analyzer to support detecting harlem, so more people can discover the library if they see it is used on the website. I've tried checking the following, after having no success in rummaging through the code for any injectable/tracable property added to the vue:
however it seems that harlem doesn't inject something like
$harlem
, like the pinia does. So I'm wondering if there's a better way to approach detecting the library?Beta Was this translation helpful? Give feedback.
All reactions