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

Speed #183

Open
684efs3 opened this issue Apr 13, 2021 · 5 comments
Open

Speed #183

684efs3 opened this issue Apr 13, 2021 · 5 comments

Comments

@684efs3
Copy link

684efs3 commented Apr 13, 2021

I've noticed that when auto import for components is turned on, the hot reload is very slow. When I turn auto import off, it is much faster.

Is there any way to improve the speed of the hot reload when auto importing of components is on?

@pi0
Copy link
Member

pi0 commented Apr 13, 2021

Hi. What is your nuxt version?

@684efs3
Copy link
Author

684efs3 commented Apr 14, 2021

2.15.3

@Rasool-deldar
Copy link

Rasool-deldar commented Apr 19, 2021

I have the same problem when components: true load very slowly, but when components: false and manually navigate, it loads quickly.

nuxt version: 2.15.4

When components: true.

bandicam-2021-04-19-19-33-09-907

When components: false.

bandicam-2021-04-19-19-46-23-186

Please resolve this issue.

@pi0
Copy link
Member

pi0 commented Apr 19, 2021

@Rasool-deldar Vuetify has its own loader system similar to components module (which i would suggest track in vuetify-module). For investigation here we need a pure project using nuxt 2.15+ (that uses components v2)

@tre-dev
Copy link

tre-dev commented Jun 27, 2021

I don't have an example, but experiencing the same problem after upgrading to Nuxt 2.15+ (from 2.14.12). My guess for what's happening is that custom components within custom components are loaded slower. Importing the slow-loading components manually resolves the bug.

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

4 participants