Home

Issue: 749

Generating pages without client side js added

[issue link]

Is it possible to generate pages without client side javascript code added (specially the ‘window.NUXT = …’ at the end)? I am working on a website where most pages don’t have any user interaction, but still use complex server side rendering involving a lot of data. My served html pages get a lot bigger than they should because of the data added at the end in the __NUXT__ variable.

I wish there was a flag that would somehow tell nuxtjs that some pages should only use server side rendering. This would also make nuxtjs a nice alternative to jekyll, thanks to the generate command.

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