-
-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
Describe the bug
I’m working on a threejs app using Nuxt. I noticed that the module automatically imports everything. However, I’m curious to know if it’s normal that no components of tresjs are exposed or exported into the auto-generated components.d.ts file of Nuxt. This would be beneficial for developers like me, as it would allow us to take advantage of the full autocompletion feature offered by most modern IDEs.
Reproduction
https://stackblitz.com/~/github.com/EvanSchleret/tresjs-no-autocomplete-demo
Steps to reproduce
Just open the demo and see that you don’t need to manually import the component. However, you don’t benefit from auto-completion of any component (including component props).
System Info
System:
OS: macOS 26.0
CPU: (12) arm64 Apple M2 Max
Memory: 287.42 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
Yarn: 1.22.21 - /usr/local/bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
pnpm: 10.12.1 - /usr/local/bin/pnpm
*bun: 1.2.22 - /opt/homebrew/bin/bun*
Browsers:
Safari: 26.0
npmPackages:
@tresjs/nuxt: ^5.0.1 => 5.0.1Used Package Manager
pnpm
Code of Conduct
- I agree to follow this project's Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels