1.0.1 • Published 5 years ago
dialog-ui v1.0.1
使用
1.安装
1.
yarn add element-ui
2.
npm i dialog-ui
2.使用
1.在main.js引入dialog-ui
2.在main.js引入element-ui
import Vue from 'vue'
import App from './App.vue'
import ui from "./ui"
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ui)
Vue.use(ElementUI);
Vue.config.productionTip = false
new Vue({
render: h => h(App),
}).$mount('#app')
3. dialog组件
<dialog-ui></dialog-ui>