{"size": 476, "ext": "js", "max_stars_repo_path": "src/entry.js", "max_stars_repo_name": "keep-study/vue2.js", "max_stars_repo_stars_event_min_datetime": "2021-03-24T14:51:02.000Z", "max_stars_repo_stars_event_max_datetime": "2021-03-24T14:51:02.000Z", "max_issues_repo_path": "src/entry.js", "max_issues_repo_name": "keep-study/vue2.js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/entry.js", "max_forks_repo_name": "keep-study/vue2.js", "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": 14.4242424242, "max_line_length": 47, "alphanum_fraction": 0.6428571429}
import Vue from 'vue';

// 引入兼容文件
import '@hai2007/polyfill/Promise.js';

// 引入启动界面
import App from './App.vue';

// 引入基础和公共样式
import '@hai2007/style/normalize.css';
import '@hai2007/style/doc-view.css';
import './style/common.css';

// 引入表单校验
import './validate';

// 引入路由
import router from './router';

//根对象
window.vm = new Vue({

    //挂载点
    el: document.getElementById('root'),

    // 路由
    router,

    // 启动vue
    render: createElement => createElement(App)

});
