youcan-shop / cli

YouCan CLI for themes & apps.
https://developer.youcan.shop
MIT License
6 stars 3 forks source link

sending Scripte tags in the response (smilar to scriptTag in shopify) in head #69

Open oubihis opened 2 weeks ago

oubihis commented 2 weeks ago

I'm developing a Nuxt.js application using Vue.js 3. The application is an extension on the YouCan.shop platform. I'm trying to include the Data for exampe (script link) in the of the store.

Environment Nuxt.js Vue.js 3.x

Steps to Reproduce ... ... Reload the page, expecting script to be included in the .

example enpoint :

const response = await fetch("https://api.youcan.shop/meta_tags", { headers: { Authorization: 'Bearer ' + session.accessToken } }); const meta = await response.json();

return meta;