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