Hello I am trying to embed the typeform code on a component using Vuex… the problem is that I have to put everything into a <template></template> but I can’t put a <script> tag inside a template tag… I also try to write the “src” inside the script tag after template tag but it doesn’t work…
<template>
<div>
<div
data-tf-widget="xVQWIlXA"
data-tf-iframe-props="title=Newsletter Sa-tour-now"
data-tf-medium="snippet"
style="width:100%;height:400px;">
</div>
</div>
</template>
<script src="//embed.typeform.com/next/embed.js">
export default {
name: 'TypeForm',
}
</script>