Static GitHub Issues

[2776] Duplicating the generation of index.html with nested paths

prev: add ability to auto import components per page
next: Why sometimes "asyncData" requests from the client's XHR?

Hello!

Found a strange behavior when generating static. index.html is generated twice and it seems the second time the correct one is re-written (It seems that because of this I can not open the page by a direct link - get nuxt Error while initializing app DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method.).

Is this a bug or not?

A similar issue was created earlier https://github.com/nuxt/nuxt.js/issues/2296

Below I attach a screenshot with the structure / pages, the paths of the router and logs

36vu-6_uqcs56n4glmwt6q

<!--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/c2408">#c2408</a>)</em></sub></div>