Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add twitter:card to the meta using vue-meta #817

Open
moda20 opened this issue Jun 21, 2024 · 4 comments
Open

How to add twitter:card to the meta using vue-meta #817

moda20 opened this issue Jun 21, 2024 · 4 comments

Comments

@moda20
Copy link

moda20 commented Jun 21, 2024

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.

@amshiro
Copy link

amshiro commented Jul 10, 2024

Hi, bro, have you solved this problem?

@moda20
Copy link
Author

moda20 commented Jul 10, 2024

@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
Copy link

amshiro commented Jul 10, 2024

@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
Copy link

amshiro commented Jul 10, 2024

@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? 😊🙏😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants