Description
Describe the bug
Hi, does anyone have problems with slow IntelliSense/suggestions in VSCode ? I’ve been trying to debug this issue in my large app for the past few days, where suggestions appear after 2-6 seconds. After a long time, the only thing that helped was removing Three.js. Is anyone else facing this issue, or perhaps have a solution?
Thanks.
with nuxt tresjs
https://github.com/user-attachments/assets/dc468410-fb08-4961-a6f9-b3102b24ab77
without nuxt tresjs
https://github.com/user-attachments/assets/596c61a6-4cc9-40cd-9994-6a415b4bc684
A clean project with only Nuxt and the Tres.js module is slow, and performance worsens as the project grows.
Reproduction
https://stackblitz.com/edit/nuxt-starter-a3ltqbft?file=app.vue,package.json,nuxt.config.ts
Steps to reproduce
{
"name": "nuxt-app",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"dependencies": {
"@tresjs/core": "^4.3.1",
"@tresjs/nuxt": "^3.0.7",
"nuxt": "^3.14.1592",
"three": "^0.171.0",
"vue": "latest",
"vue-router": "latest"
},
"packageManager": "[email protected]+sha512.88c9c3864450350e65a33587ab801acf946d7c814ed1134da4a924f6df5a2120fd36b46aab68f7cd1d413149112d53c7db3a4136624cfd00ff1846a0c6cef48a"
}
System Info
No response
Used 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.