Static GitHub Issues

[3027] Error appears in browser console when set `generate.minify.maxLineLength` and generate

prev: How to refresh the nuxt page? If the page is refreshed with location.reload (), the page looks like the beauty center rendering asyncData does not appear to be executed
next: Writing ES6 class

I set generate.minify.maxLineLength to 80 in nuxt.config.js:

  generate: {
    minify: {
      maxLineLength: 80,
    },
  },

And I ran generate, started server and opened website in browser. Then following error appeared in browser console:

TypeError: n.setAttribute is not a function
    at Array.Xn (vendor.a90d6cc6517921cb7500.js:2)
    at C (vendor.a90d6cc6517921cb7500.js:2)
    at vendor.a90d6cc6517921cb7500.js:2
    at C (vendor.a90d6cc6517921cb7500.js:2)
    at vendor.a90d6cc6517921cb7500.js:2
    at C (vendor.a90d6cc6517921cb7500.js:2)
    at vendor.a90d6cc6517921cb7500.js:2
    at C (vendor.a90d6cc6517921cb7500.js:2)
    at a.__patch__ (vendor.a90d6cc6517921cb7500.js:2)
    at a.t._update (vendor.a90d6cc6517921cb7500.js:2)
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2622">#c2622</a>)</em></sub></div>