Permalink
Browse files

update readme + sepcify node version for circle

  • Loading branch information...
yyx990803 committed Jun 2, 2017
1 parent cdc7370 commit fb42e8e9f9353e54ee4cc2e5e6badcca0affa258
Showing with 6 additions and 3 deletions.
  1. +3 −3 README.md
  2. +3 −0 circle.yml
View
@@ -1,6 +1,6 @@
# vuex-router-sync
# vuex-router-sync [![CircleCI](https://circleci.com/gh/vuejs/vuex-router-sync.svg?style=svg)](https://circleci.com/gh/vuejs/vuex-router-sync)
> Effortlessly keep vue-router and vuex store in sync.
> Sync vue-router's current $route as part of vuex store's state.
### Usage
@@ -22,7 +22,7 @@ sync(store, router) // done.
// bootstrap your app...
```
You can set a custom vuex module name
You can optionally set a custom vuex module name:
```js
sync(store, router, { moduleName: 'RouteModule' } )
View
@@ -0,0 +1,3 @@
machine:
node:
version: 6

0 comments on commit fb42e8e

Please sign in to comment.