Tresjs/tres

Error when using empty TresCanvas

Open

#815 opened on Sep 4, 2024

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Vue (188 forks)github user discovery
PR welcomegood first issuehas-workaroundhelp wantedp2-edge-case

Repository metrics

Stars
 (3,582 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug

Using <TresCanvas></TresCanvas> will cause errors: Uncaught TypeError: l.default is not a function

Reproduction

https://stackblitz.com/edit/tresjs-basic-is86dt?file=src%2FApp.vue

Steps to reproduce

Open reproduction link Check console

System Info

No response

Used Package Manager

npm

Code of Conduct

Contributor guide