Skip to content

support vuex 2.0 migration #18

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
Jul 11, 2016

Conversation

blake-newman
Copy link
Member

No description provided.

@dm
Copy link

dm commented Jul 7, 2016

LGTM 👍

@blake-newman blake-newman force-pushed the patch/support-vuex-2-migration branch from b4c24c1 to b19229d Compare July 7, 2016 13:51
@blake-newman
Copy link
Member Author

Fixed peer dependency range

@@ -6,7 +6,7 @@ exports.sync = function (store, router) {
var currentPath

// sync router on store change
store.watch(
store._vm.$watch(
Copy link
Member

Choose a reason for hiding this comment

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

vuex 2.0 will still have store.watch - let's keep using the public API.

Copy link
Member Author

Choose a reason for hiding this comment

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

okay, so will only support rc2 onwards. Thats fair enough.

@blake-newman blake-newman force-pushed the patch/support-vuex-2-migration branch from 0d9bdbb to 247e6a1 Compare July 8, 2016 13:02
@yyx990803 yyx990803 merged commit 81195bb into vuejs:master Jul 11, 2016
@blake-newman blake-newman deleted the patch/support-vuex-2-migration branch July 11, 2016 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants