This website requires JavaScript.
Explore
Help
Sign In
tyrel
/
learnin-some-vue
Watch
1
Star
0
Fork
0
You've already forked learnin-some-vue
Code
Issues
Pull Requests
Releases
Wiki
Activity
1ac671e702
learnin-some-vue
/
app.js
12 lines
124 B
JavaScript
Raw
Normal View
History
Unescape
Escape
first commit
2018-04-13 14:54:53 +00:00
var
app
=
new
Vue
(
{
el
:
'#app'
,
data
:
{
@click
2018-04-13 17:44:28 +00:00
counter
:
0
update title with changeTitle
2018-04-13 14:56:49 +00:00
}
,
@click
2018-04-13 17:44:28 +00:00
methods
:
{
click
(
)
{
this
.
counter
++
;
update title with changeTitle
2018-04-13 14:56:49 +00:00
}
first commit
2018-04-13 14:54:53 +00:00
}
}
)
Reference in New Issue
Copy Permalink