vue-meta Questions
4
Solved
Using the file nuxt.config.js file, head contents can be customized to add some meta, or other things:
module.exports = {
/*
** Headers of the page
*/
head: {
title: 'awesome title',
meta: [...
Politi asked 13/1, 2018 at 9:14
2
Solved
In a page, I set head title like this:
...
<script>
export default {
head() {
return {
title: this.post.name
}
}
}
</script>
How can I get this data in another component?
I tri...
3
Solved
It seems that Vue Meta has been upgraded to handle Vue.js 3 with a new npm package called vue-3-meta
Before Vue.js 3, it was easy to use vue-meta by adding it to the Vue instance:
import Vue from '...
Disassemble asked 16/2, 2021 at 16:28
4
When I visit my internal pages vue-meta will not get updated by new page values.
Code
app.js
import VueMeta from 'vue-meta'
Vue.use(VueMeta, {
refreshOnceOnNavigation: true
})
App.vue (main compo...
Breland asked 5/1, 2021 at 5:17
2
After installing vue-meta, there is an error in my browser console.
Why is this error showing up? Is it from my code or a bug? I am using [email protected] and Vue 3.
main.js
createApp(App)
...
1
Basically, Im using Nuxt 2.9.2, and trying to using innerHTML method to inline a Google Optimize script, but whenever i run npm run generate, the code transforms certain aspects even though __dange...
Fractostratus asked 24/9, 2019 at 8:12
1
Solved
I'm using vue-meta to dynamically change my meta tags. I want to change it only on some particular pages.
I'm using metaInfo function and try to change, for example, a title. But data from my get...
Airily asked 14/11, 2018 at 8:5
0
I have a Vue.js application where I want to use Open Graph Meta Tags to display some content (title, description, image) when a link is shared on social media (mainly facebook).
I use vue-meta to ...
Holloway asked 15/8, 2018 at 10:32
1
© 2022 - 2024 — McMap. All rights reserved.