I just dived in the programming world of Vue.js(Vite 3.1). I am unable to bind the Script file with html and bind a paramater. I am following the tutorial but am unable to solve it. Please guide.
I just dived in the programming world of Vue.js(Vite 3.1). I am unable to bind the Script file with html and bind a paramater. I am following the tutorial but am unable to solve it. Please guide.
Your title says vuejs which can be misleading. I can provide vuejs example only.
new Vue({
el: "#app",
data: {
callsoffered:"100",
},
methods: {
}
})
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script>
<div id="app">
Value: {{callsoffered}}
</div>