Tresjs / tres

Declarative ThreeJS using Vue Components
https://tresjs.org
MIT License
1.91k stars 85 forks source link

Nested component not rendering #748

Closed nulkode closed 4 days ago

nulkode commented 4 days ago

Describe the bug

I'm trying to import a model in components/3D/TestModel.vue and nest it. However, it's not appearing. Only those models that are inside the app.vue or inside components itself and not the subfolder are rendered.

Reproduction

https://github.com/nulkode/tresjs-nuxt-error

Steps to reproduce

  1. Install all the dependencies with bun install.
  2. Run with bun dev.
  3. Observe that only two cubes are rendered, one missing in the center that is the one in components/3D/TestMode.vue.

image

System Info

System:
    OS: Windows 11 10.0.22631
  Binaries:
    Node: 20.10.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.15.5 - C:\Program Files\nodejs\pnpm.CMD
    bun: 1.1.17 - ~\.bun\bin\bun.EXE
  Browsers:
    Ungoogled Chromium 124.0.6367.91 (Official Build, ungoogled-chromium) (64 bits)

I'm using bun as a package manager but it is not listed as a package manager.

Used Package Manager

npm

Code of Conduct

nulkode commented 4 days ago

Oops, wrong package.

nulkode commented 4 days ago

Moved to https://github.com/Tresjs/nuxt/issues/108.