Basically I need to add the script to the head of my index.html,
so what I've tried is...
in my nuxt.config.js
head: {
script: [
{
type: 'text/javascript',
src: '
https://a.optmnstr.com/app/js/api.min.js',
data-account: 'XXXXX',
data-user: 'XXXXX',
async: true
}
]
}
now obviously this isn't working since data-account and data-user is not valid, so how can I make this work??
Any help would be appreciated!
Thanks
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)