Upload New File

parent b17514cc
<html>
<head>
<title>VueJs Instance</title>
<script type = "text/javascript" >
var vm = new Vue({
el: '#vue_det',
data: {
firstname : "";
lastname : "";
}
})
</script>
</head>
<body>
<div id = "vue_det">
Firstname : <input type=text v-model = "firstname">
Lastname : <input type=text v-model ="lastname">
<h1>Firstname : {{firstname}}</h1>
<h1>Lastname : {{lastname}}</h1>
<div>{{htmlcontent}}</div>
</div>
<script type = "text/javascript" src = "js/vue_template.js"></script>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment