-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Description
What problem does this feature solve?
Easy two-way binding between v-model
and vuex state / mutations.
What does the proposed API look like?
For example I want to bind the state of the global menu to a vuex state.
Meanwhile I use this manual workaround in my component:
computed: {
nav: {
get () { return this.$store.state.nav },
set (v) { this.$store.commit('SET_NAV', v) }
}
}
It would be helpful to have an easy function like mapGetters
to do this.
northamerican, johnmerced-ks, Koc, ibyteyou, kpilard and 40 moreleodutra, kenberkeley and vanderbtagmetag, OscarBataille and kenberkeley
Metadata
Metadata
Assignees
Labels
No labels