Home

Issue: 2279

scripts can't be injected into </body>

[issue link]

this is my head() method

  head() {
    return {
      link: [
        "../azure/azuremediaplayer.min.css",
        "../azure/azure-stream.css",
        "../azure/azure-plugins.css",
        "../azure/azure-custom-skin.css"
      ].map(link => {
        return { rel: "stylesheet", href: link };
      }),
      script: [
        "../azure/azuremediaplayer.min.js",
        "../dist/azure.js"
      ].map(src => {
        return { src: src, body: true, type: "text/javascript" };
      })
    };
  }

When I set ‘body’ to false, the scritps can be injected into the head tag, set to false and can‘t be injected in front of </ body>, or even an html document.

nuxtjs:v1.0.0-rc11
vue-meta:v1.3.1

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