{"size": 394, "ext": "js", "max_stars_repo_path": "examples/router/index.js", "max_stars_repo_name": "devinRex/rex-ui", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "examples/router/index.js", "max_issues_repo_name": "devinRex/rex-ui", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "examples/router/index.js", "max_forks_repo_name": "devinRex/rex-ui", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.1304347826, "max_line_length": 49, "alphanum_fraction": 0.5406091371}
import Vue from 'vue';
import Router from 'vue-router';
import HelloWorld from '@/components/HelloWorld';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/test',
      name: 'test',
      component(resolve) {
        require(['@/doc/test.md'], resolve);
      },
    },
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld,
    },
  ],
});
