Tresjs / tres

Declarative ThreeJS using Vue Components

Home Page:https://tresjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docs(sandbox): "Failed to resolve component: TresDirectionalLight"

andretchen0 opened this issue · comments

Describe the bug

Screenshot 2024-01-21 at 22 33 48 copy

In the Tres docs, an error appears in the sandbox:

Failed to resolve component: TresDirectionalLight
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
 at <Repl>

Reproduction

N/A

Steps to reproduce

System Info

Tested in:

* Firefox 127.0.1 (Mac ARM)
* Chrome Version 120.0.6099.234 (Mac ARM)

Used Package Manager

npm

Code of Conduct

@andretchen0 yes this is annoying, for some reason is like the sandbox is not getting the template compiler options 🥲

@andretchen0 I just solved it, there was a fix on the Vuejs Repl repo vuejs/repl@d72dfdf just merged it