Skip to content

Commit 8ff8135

Browse files
feat(app): Add TresJs to vue-telemetry (#105)
* feat(app): Add TresJs to vue-telemetry * docs(app): Update readme
1 parent 00f3924 commit 8ff8135

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ It supports multiple [frameworks](#frameworks), [UI libraries](#ui-libraries) an
3333
- [VuePress](https://vuepress.vuejs.org)
3434
- [Vue Storefront](https://www.vuestorefront.io/)
3535
- [îles](https://iles-docs.netlify.app)
36+
- [TresJs](https://tresjs.org/)
3637

3738
To support a new Vue framework, please look at [detectors/frameworks.json](detectors/frameworks.json).
3839

detectors/frameworks.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,18 @@
8888
"vsf-layout(?:-\\w*)?\\.?(?:[0-9a-fA-F]{7,40}|[\\d]+(?:.[\\d]+(?:.[\\d]+)?)?)(?:\\.min)?\\.js"
8989
]
9090
}
91+
},
92+
"TresJs": {
93+
"metas": {
94+
"slug": "tres-js",
95+
"name": "Tresjs",
96+
"imgPath": "/framework/tres.svg",
97+
"url": "https://tresjs.org/"
98+
},
99+
"detectors": {
100+
"html": [
101+
"<canvas [^>]*data-tres=\"tresjs.[0-9].[0-9].[0-9]"
102+
]
103+
}
91104
}
92105
}

icons/framework/tres.svg

Lines changed: 6 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)