forked from StydeNet/curso-vuejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample1.html
38 lines (29 loc) · 980 Bytes
/
example1.html
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
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Styde.net | Curso de VueJS</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="vue.js"></script>
</head>
<body id="app">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h1>Bienvenido, {{ name }}</h1>
<input type="text" v-model="name" class="form-control">
<hr>
<pre>{{ $data | json }}</pre>
</div>
</div>
<script type="text/javascript">
new Vue({
el: "#app",
data: {
name: "Silence"
}
});
</script>
</body>
</html>