Issue: 3135

Body script tag should be added before context scripts

[issue link]

In file lib/core/renderer.js, line 372 to 375, as below

    APP += `<script>${serializedSession}</script>`
    APP += context.renderScripts()
    APP += m.script.text({ body: true })
    APP += m.noscript.text({ body: true })

we see the meta scripts is appended after context scripts, but the meta scripts are always some third part lib, like zepto, lodash and so on, they should be loaded before context scripts, so I think Nuxt should provide an option to decide if the meta scripts postion is before or after the context scripts.

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