pyplacca
Using Web Components with Nuxt 3.8.2
This should help you get web components working in nuxt.
https://vuejs.org/guide/extras/web-components.html
5 replies
Insert html in head
I don’t know if this would work but you can try it out. If it does work, I would think it’s safe or recommended either.
https://nuxt.com/docs/getting-started/seo-meta#components
14 replies
Insert html in head
What if you parsed the string, extracted the parts you need, and then inserting them into the head using the composable?
You can use cheerio to handle the parsing.
PS: cheerio can be slow sometimes, but it’s useful for such SSR needs
14 replies