Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
demo-vue-vuex
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Hooke
2016-10-29 17:19:21 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fb1d4d0be0a06ddf8fb0be71ccf5f6888d4589e1
fb1d4d0b
1 parent
0fbe3348
no message
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
app.js
app.js
View file @
fb1d4d0
...
...
@@ -22,11 +22,6 @@ Vue.component('counter',Counter)
const
app
=
new
Vue
({
el
:
'#app'
,
store
,
computed
:
{
count
()
{
return
store
.
state
.
count
}
},
methods
:
{
increment
()
{
store
.
commit
(
'increment'
)
...
...
Please
register
or
login
to post a comment