nuxt-jsonld icon indicating copy to clipboard operation
nuxt-jsonld copied to clipboard

Doesn't work inside another composable after data fetching

Open TheDutchCoder opened this issue 1 year ago • 0 comments

Describe the bug When using useJsonld inside of another composable and you fetch data, this jsonld composable fails to add data. This might be a Nuxt internal problem (with useHead => unhead)

Your Nuxt version 3.12.4

Your nuxt-jsonld version 2.0.8

To Reproduce Steps to reproduce the behavior. Repro: https://stackblitz.com/edit/github-pp3ujf?file=pages%2Fpage2.vue

Page 1 works, Page 2 doesn't.

TheDutchCoder avatar Aug 21 '24 20:08 TheDutchCoder