How can we add custom meta detail?

Hello there !
i have added custom component and made a seperate page for that component now i want to add meta title and meta description from that component but if i am adding the meta details it not overriding already available meta details. can any one help me to add meta details from custom component.
Below is code i am using to add meta details :
metaInfo () {
return {
title: ‘test title’,
meta: [{ vmid: ‘description’, name: ‘description’, content: htmlDecode(‘test description’) }]
}
}