Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
3a7c148d
Commit
3a7c148d
authored
Apr 19, 2018
by
Dennis Tang
Committed by
Fatih Acet
Apr 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in vue.md
parent
674702e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/development/fe_guide/vue.md
doc/development/fe_guide/vue.md
+2
-2
No files found.
doc/development/fe_guide/vue.md
View file @
3a7c148d
...
@@ -524,7 +524,7 @@ export default new Vuex.Store({
...
@@ -524,7 +524,7 @@ export default new Vuex.Store({
_Note:_
If the state of the application is too complex, an individual file for the state may be better.
_Note:_
If the state of the application is too complex, an individual file for the state may be better.
##### `actions.js`
##### `actions.js`
An action commits a mutat
ation. In this file, we will write the actions that will call
the respective mutation:
An action commits a mutat
ion. In this file, we will write the actions that will commit
the respective mutation:
```
javascript
```
javascript
import
*
as
types
from
'
./mutation_types
'
;
import
*
as
types
from
'
./mutation_types
'
;
...
@@ -661,7 +661,7 @@ describe('component', () => {
...
@@ -661,7 +661,7 @@ describe('component', () => {
};
};
// populate the store
// populate the store
store
.
dipatch
(
'
addUser
'
,
user
);
store
.
di
s
patch
(
'
addUser
'
,
user
);
vm
=
new
Component
({
vm
=
new
Component
({
store
,
store
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment