Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow intellisense/suggestions #880

Open
5 tasks done
jojco opened this issue Dec 7, 2024 · 0 comments
Open
5 tasks done

Slow intellisense/suggestions #880

jojco opened this issue Dec 7, 2024 · 0 comments

Comments

@jojco
Copy link

jojco commented Dec 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant