Created
April 29, 2021 08:19
-
-
Save Akhigbe-E/ffc21ebbda1ff22a677967bf6c53ea4e to your computer and use it in GitHub Desktop.
Head function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data() { | |
return { | |
title: 'Home page' | |
} | |
}, | |
head() { | |
return { | |
title: this.title, | |
meta: [ | |
{ | |
hid: 'description', | |
name: 'description', | |
content: 'Home page description' | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment