Skip to content

Commit 9e7aab4

Browse files
kajalachrisvfritz
authored andcommitted
added app object (#10)
* added app object * Add var to app variable declaration
1 parent ebf3431 commit 9e7aab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h1>\{{ greeting }}</h1>
3131
</div>
3232

3333
<script>
34-
new Vue({
34+
var app = new Vue({
3535
el: '#app',
3636
data: {
3737
greeting: 'Welcome to your Vue.js app!',

0 commit comments

Comments
 (0)