How to inject JSON-LD in a SPA?
-
How to inject a JSON into a script? Like this:
<script type='application/ld+json'> {"@context":"http:\/\/schema.org\/", ...} </script>
I can’t find a proper solution …
Thanks
-
-
ORLY? … Thanks!
-
If your script content is static, then you can add it directly to your src/index.template.html. Otherwise, use Quasar Meta Plugin as indicated above.