We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setting metaInfo in head or setHead():
metaInfo
head
setHead()
setHead(function() { return { metaInfo: { script: [ { innerHTML: 'console.log("I am in body");', type: 'text/javascript', body: true } ] } } })
a <script> tag would be inserted before </body>
<script>
</body>
saber -v
may just solve it by upgrading vue-meta to v2.1+ (now 2.0.4 https://github.com/saberland/saber/blob/master/packages/saber/package.json#L66)?
vue-meta
https://vue-meta.nuxtjs.org/api/#pbody
The text was updated successfully, but these errors were encountered:
Return the metaInfo properties directly in setHead or head option in your component.
setHead
setHead(function() { return { script: [ { innerHTML: 'console.log("I am in body");', type: 'text/javascript', body: true } ] } })
Sorry, something went wrong.
No branches or pull requests
Bug report
Steps to reproduce
setting
metaInfo
inhead
orsetHead()
:What is expected?
a
<script>
tag would be inserted before</body>
What is actually happening?
Other relevant information
saber -v
: 0.11.5may just solve it by upgrading
vue-meta
to v2.1+ (now 2.0.4 https://github.com/saberland/saber/blob/master/packages/saber/package.json#L66)?https://vue-meta.nuxtjs.org/api/#pbody
The text was updated successfully, but these errors were encountered: