SEO
This commit is contained in:
@@ -94,6 +94,14 @@ export default {
|
||||
product: {},
|
||||
quantity: 1
|
||||
}
|
||||
},
|
||||
head () {
|
||||
return {
|
||||
title: this.$store.state.shop.name + ' | ' + this.product.title,
|
||||
meta: [
|
||||
{ hid: 'description', name: 'description', content: this.product.description }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -26,6 +26,11 @@ export default {
|
||||
products () {
|
||||
return this.$store.state.products
|
||||
}
|
||||
},
|
||||
head () {
|
||||
return {
|
||||
title: this.$store.state.shop.name + ' | ' + 'Products'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user