With nuxt, each page file has a head section that can be used like this
export default {
head(){
return {
title: 'Profile'
}
}
}
it also has access to the rest of the component, and can set values dynamically like this
export default {
data(){
return {
community: {name:'test'}
}
},
head(){
return {
title: this.community.name
}
}
}
With nuxt, each page file has a
headsection that can be used like thisit also has access to the rest of the component, and can set values dynamically like this