8000 Merge pull request #61 from lyquocnam/patch-2 · javascriptit/examples-1@05cb6f2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 05cb6f2

Browse files
authored
Merge pull request totaljs#61 from lyquocnam/patch-2
Update app.js
2 parents e769e9b + 226779b commit 05cb6f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vue/public/assets/app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// node with the id "app", so that the client-side
88
// version can take over once it loads.
99
return new Vue({
10+
el: '#app',
1011
template: '<div id="app">You have been here for {{ counter }} seconds.</div>',
1112
data: {
1213
counter: 0
@@ -24,6 +25,6 @@
2425
if (typeof module !== 'undefined' && module.exports) {
2526
module.exports = createApp;
2627
} else {
27-
this.app = createApp({ el: '#app' });
28+
this.app = createApp();
2829
}
2930
}).call(this);

0 commit comments

Comments
 (0)
0