text: import Vue from 'vue'
  
  import Cookies from 'js-cookie'
  
  import 'normalize.css/normalize.css' // a modern alternative to CSS resets
  import Element from 'element-ui'
  import './styles/element-variables.scss'
  
  import '@/styles/index.scss' // global css
  import App from './App'
  import store from './store'
  import router from './router'
  
  import './permission' // permission control
  
  Vue.use(Element, {
    // size: Cookies.get('size') || 'medium' 
    size: Cookies.get('size') || 'small' // set element-ui default size
  });
  
  Vue.config.productionTip = false;
  
  new Vue({
    el: '#app',
    router,
    store,
    render: h => h(App)
  });
  