{"size": 701, "ext": "js", "max_stars_repo_path": "src/main.js", "max_stars_repo_name": "lumengxin/vue4-gshop", "max_stars_repo_stars_event_min_datetime": "2020-09-04T01:30:41.000Z", "max_stars_repo_stars_event_max_datetime": "2020-09-04T01:30:41.000Z", "max_issues_repo_path": "src/main.js", "max_issues_repo_name": "lumengxin/vue4-gshop", "max_issues_repo_issues_event_min_datetime": "2021-03-10T14:22:50.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T02:53:01.000Z", "max_forks_repo_path": "src/main.js", "max_forks_repo_name": "lumengxin/vue4-gshop", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 19.4722222222, "max_line_length": 49, "alphanum_fraction": 0.7104136947}
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 按需引入部分组件
import { Button } from 'mint-ui'
import VueLazyload from 'vue-lazyload'
import loading from './assets/images/loading.gif'

import 'components/regesiter.js'
import './mock/mockServer.js'
// data-fns代替moment,轻量级
import './filters'

/* 可视化分析打包文件的包：webpack-bundle-analyzer
npm run build --report
*/
import 'stylus/reset.styl'

Vue.config.productionTip = false

// 注册mint-ui全局组件
Vue.component(Button.name, Button)

Vue.use(VueLazyload, {
  // 直接使用相对路径，会出现304
  // loading: './assets/images/loading.gif'
  loading
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
