Skip to content

Commit 6fbf3df

Browse files
committed
Hello world vue.js
1 parent bf6af9f commit 6fbf3df

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// noinspection ES6ModulesDependencies
2+
3+
app = new Vue({
4+
el: '#app',
5+
data: {
6+
search_text: "initial value",
7+
}
8+
})

days/093-096-vuejs/movie_exploder/views/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212

1313
<div class="card" id="app">
1414
<h1>Movie Exploder</h1>
15+
16+
<input type="text" v-model="search_text">
17+
<div style="color: green;">
18+
{{search_text}}
19+
</div>
20+
1521
</div>
1622

1723
<script src="../js/vue/vue.js"></script>

0 commit comments

Comments
 (0)