Static GitHub Issues

[1500] fetch () is pre-populating static files on nuxt generate

prev: in nuxtServerInit when i use axios to post body first is ok and second the body is nothing?
next: After updating to `latest` scroll binding stopped working

Hi there,

I ran nuxt generate, and pages with the fetch () method are building with the fetched content pre-populated in the static html file. If you are using a CMS, this is problematic because direct hits to the page will load the original content when it was built.

For now, I had to replace the fetch () method with the created () lifecycle hook.

I'm using 1.0.0-rc3, so not sure if this has been fixed. If this is intended behavior, it's problematic, unless I'm missing something.

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