-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathejemplo1.html
More file actions
31 lines (28 loc) · 798 Bytes
/
ejemplo1.html
File metadata and controls
31 lines (28 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Curso de VueJS</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="vue.js"></script>
</head>
<body id="app">
<div class="container">
<h1>Bienvenido, {{ name }}</h1>
<input type="text" class="form-control" v-model="name">
<hr>
<pre>
{{ $data | json }}
</pre>
</div>
<script type="text/javascript">
new Vue({
el: '#app',
data: {
name: ""
}
})
</script>
</body>
</html>