# vue-ele-ui

# Install


npm i element-ui vue-ele-ui -S

# Quick Start


在 main.js 中写入以下内容:

import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueEleUI from 'vue-ele-ui/lib/vue-ele-ui.common';
import 'vue-ele-ui/lib/vue-ele-ui.css';
import App from './App.vue';
Vue.use(ElementUI);
Vue.use(VueEleUI);

# On demand

如果只希望引入部分组件,那么需要在 main.js 中写入以下内容:


import Vue from 'vue';
import { reTable, reCard } from 'vue-ele-ui';
import App from './App.vue';
Vue.use(reTable);
Vue.use(reCard);
/* or
 *
 * Vue.component(reTable.name, reTable);
 * Vue.component(reCard.name, reCard);
 */

new Vue({
  el: '#app',
  render: h => h(App)
});