Dewdew
Explore posts from serversHow can i do In Page.vue / useHead() script innerHTML ?
@harlan
opps! i moved index.vue:)
my concern is,
I want to write a script as innerHTML in usehead(),
If you reproduce it, it does not come out in the form of a function like I put in a comment, but in the form of text, so I wonder if I'm using it properly!
useHead({
script: [
{
children:
var_nasa={};if(window.wcs)_nasa.cnv=wcs.cnv("${2}","${
data.value
}");
,
type: 'text/javascript',
},
],
});11 replies