text: import Vue from 'vue'
  import App from './App.vue'
  import router from './router'
  import store from './store/index'
  import 'normalize.css/normalize.css'// A modern alternative to CSS resets
  
  import ElementUI from 'element-ui'
  import 'element-ui/lib/theme-chalk/index.css'
  import locale from 'element-ui/lib/locale/lang/en' // lang i18n
  import '@/styles/index.scss' // global css
  import './permission' // permission control
  
  import { ApolloClient } from 'apollo-client'
  import { HttpLink } from 'apollo-link-http'
  import { InMemoryCache } from 'apollo-cache-inmemory'
  import VueApollo from 'vue-apollo'
  
  const httpLink = new HttpLink({
    uri: 'http://localhost:3000/graphql'
  })
  
  const apolloClient = new ApolloClient({
    link: httpLink,
    cache: new InMemoryCache()
  })
  
  const apolloProvider = new VueApollo({
    defaultClient: apolloClient
  })
  
  Vue.config.productionTip = false
  Vue.use(ElementUI, { locale })
  Vue.use(VueApollo)
  
  new Vue({
    router,
    store,
    provide: apolloProvider.provide(),
    render: h => h(App)
  }).$mount('#app')
  