Nuxt.js: Nuxt slow compiling & building

Created on 3 Apr 2018  路  7Comments  路  Source: nuxt/nuxt.js

i have a page file which has more than 900 lines of html code. also it includes css and js code. it takes a lot of time to build and compile. i checked both linux and windows environments. help me on this issue.

Thank You.

This question is available on Nuxt.js community (#c6838)

Most helpful comment

Hi @Chathula

Actually it's mostly from Webpack, not from Nuxt.js itself.

Nuxt 2.0 will be out soon with 2x build performance.

All 7 comments

Hi @Chathula

Actually it's mostly from Webpack, not from Nuxt.js itself.

Nuxt 2.0 will be out soon with 2x build performance.

Hi @Atinux

I have the same issue. Is there any solution for this?
I would really appreciate one because I'm doing a project with nuxt.

@joostdecock , thanks for share :dancer:

Thanks for the nuxt edge!
I'm migrating from an HTML file that contains 1000 LOC, and I still have this slow issue on Nuxt Edge.
How can I make the build process faster?
Does the build process cache sth doesn't need to rebuild?

I broke 1000 line of HTML into smaller components, as a result, Nuxt has built very fast.
Now my migration process was completely easy with nuxt. Thank all nuxt's contributors (y)
For best build performance, just avoid 500 line of HTML in your template.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings