In the "spa mode" with a "custom layout" pages will be mounted twice!
<img width="1053" alt="screen shot 2017-10-06 at 7 09 18 pm" src="https://user-images.githubusercontent.com/2684673/31286084-ef88cb86-aac9-11e7-8b2d-e3a02d213386.png">In a fresh clone of nuxt.js, I just added this line in nuxt.config.js to use spa mode:
mode: 'spa',
then I created a custom layout ('layouts/custom.vue') with the exact contents of the default layout ('layouts/default.vue'), and I used the custom layout in "pages/index.vue"
This bug only exists in SPA mode with a custom layout. But in SSR mode or with the default layout it works fine.
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1606">#c1606</a>)</em></sub></div>