Skip to content

docs: Change funciton to method #2043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2021
Merged

docs: Change funciton to method #2043

merged 1 commit into from
Oct 4, 2021

Conversation

Yukon123
Copy link
Contributor

commit and dispatch are two methods of store

const store = useStore()

increment: () => store.commit('increment'),

@Yukon123 Yukon123 changed the title Change funciton to method docs: Change funciton to method Aug 25, 2021
Copy link
Member

@kiaking kiaking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@kiaking kiaking added 4.x documentation Improvements or additions to documentation labels Oct 4, 2021
@kiaking kiaking merged commit c0bad80 into vuejs:4.0 Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants