{"size": 812, "ext": "js", "max_stars_repo_path": "src/entry/auth.js", "max_stars_repo_name": "inxi-pc/my-blog-admin", "max_stars_repo_stars_event_min_datetime": "2016-10-28T10:55:59.000Z", "max_stars_repo_stars_event_max_datetime": "2016-10-28T10:55:59.000Z", "max_issues_repo_path": "src/entry/auth.js", "max_issues_repo_name": "inxi-pc/my-blog-admin", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/entry/auth.js", "max_forks_repo_name": "inxi-pc/my-blog-admin", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.8048780488, "max_line_length": 65, "alphanum_fraction": 0.5603448276}
import Vue from 'vue'
import VueRouter from 'vue-router'

import Entry from 'app_lib/entry.js'

import auth from 'app_module/auth/auth.vue'

Vue.use(VueRouter)

var router = new VueRouter({
    hashbang: false
})

router.map({
    '/': {
        name: 'login',
        component: function (resolve) {
            require(['app_component/auth/login.vue'], resolve)
        }
    },
    '/login': {
        name: 'login',
        component: function (resolve) {
            require(['app_component/auth/login.vue'], resolve)
        }
    },
    '/register' : {
        name: 'register',
        component: function (resolve) {
            require(['app_component/auth/register.vue'], resolve)
        }
    }
})

var root = Entry.extend({
    components: {
        page: auth,
    }
})
router.start(root, '#app')
