{"size": 920, "ext": "js", "max_stars_repo_path": "src/main.js", "max_stars_repo_name": "n8659150/erpadmin", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/main.js", "max_issues_repo_name": "n8659150/erpadmin", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/main.js", "max_forks_repo_name": "n8659150/erpadmin", "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": 20.9090909091, "max_line_length": 80, "alphanum_fraction": 0.672826087}
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import AtComponents from 'at-ui'
// import 'at-ui-style'
import Vuex from 'vuex'
import VueResource from "vue-resource";
import App from './App'
import router from './router'
Vue.use(Vuex)
Vue.use(VueResource)
Vue.use(AtComponents)

Vue.config.productionTip = false

const store = new Vuex.Store({
  state: {
    keywords:null,
    currentRecords:null,
    activateRecord:null
  },
  mutations: {
    updateKeywords(state, keywords) {
      state.keywords = keywords
    },
    updateRecords(state, records) {
      state.currentRecords = records
    },
    activateRecord(state,record) {
      state.activateRecord = record
    }
  }
})


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
