vue-meta
vue-meta copied to clipboard
How to add twitter:card to the meta using vue-meta
i am trying to add a simple twitter card and title as meta tags to my vue3 pages, the tags are different between the pages, i can't seem to find any documentation that can show exactly how to do that, everything is super complicated.
i tried adding meta attribute with the desired attrobutes to the vue-router routes and return it in metaInfo function but that didn't work.
Hi, bro, have you solved this problem?
@amshiro no, i dropped the package and added the metatags to the index.html directly. there is head.js lib that is a better alternative for this one
@amshiro no, i dropped the package and added the metatags to the index.html directly. there is head.js lib that is a better alternative for this one
I haven't implemented it either. I'll try head.js. Thanks for your suggestion.
@amshiro no, i dropped the package and added the metatags to the index.html directly. there is head.js lib that is a better alternative for this one
I haven't implemented it either. I'll try head.js. Thanks for your suggestion.
Bro, would you like to share the core usage of head.js? 😊🙏😊
Wouldn't <teleport to="head"> be an alternative to this problem?