{"size": 477, "ext": "js", "max_stars_repo_path": "client-vue2/src/router/vuex-routes.js", "max_stars_repo_name": "bingoogolapple/bga-electron-note", "max_stars_repo_stars_event_min_datetime": "2020-08-09T16:49:57.000Z", "max_stars_repo_stars_event_max_datetime": "2021-06-14T15:46:52.000Z", "max_issues_repo_path": "client-vue2/src/router/vuex-routes.js", "max_issues_repo_name": "bingoogolapple/bga-electron-note", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client-vue2/src/router/vuex-routes.js", "max_forks_repo_name": "bingoogolapple/bga-electron-note", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.6666666667, "max_line_length": 78, "alphanum_fraction": 0.5932914046}
import Counter from '../views/Vuex/Counter.vue'
import Nested from '../views/Vuex/Nested.vue'

export default [
  {
    // 默认情况下 Vuex/index.vue 出口是不会渲染任何东西，这是因为没有匹配到合适的子路由。如果你想要渲染点什么，可以提供一个空的子路由
    path: '',
    component: Counter // 直接指定 Counter 组件或者重定向
  },
  {
    path: 'counter',
    name: 'Counter',
    component: Counter
  },
  {
    path: 'nested',
    name: 'Nested',
    component: Nested
  },
  {
    path: '*',
    redirect: {
      name: 'Lifecycle'
    }
  }
]
