{"size": 531, "ext": "js", "max_stars_repo_path": "core/app.js", "max_stars_repo_name": "ksl594303117/cloudmusic", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "core/app.js", "max_issues_repo_name": "ksl594303117/cloudmusic", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "core/app.js", "max_forks_repo_name": "ksl594303117/cloudmusic", "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.1290322581, "max_line_length": 44, "alphanum_fraction": 0.6610169492}
/**
 * @file entry
 * @author 寇姝玲(koushuling@soyoung.com)
 */

import Vue from 'vue'
import Meta from 'vue-meta'

import {createRouter} from '@/.lavas/router'
import {createStore} from '@/.lavas/store'
import AppComponent from './App.vue'

Vue.use( Meta )

Vue.config.productionTip = false

export function createApp() {
  let router = createRouter()
  let store = createStore()
  let App = Vue.extend( {
    router,
    store,
    ...AppComponent
  } )
  return {App, router, store}
}

if ( module.hot ) {
  module.hot.accept()
}
