集成im
This commit is contained in:
parent
45f2ed3a2a
commit
ed34df44ee
@ -22,6 +22,7 @@
|
|||||||
"element-china-area-data": "^6.1.0",
|
"element-china-area-data": "^6.1.0",
|
||||||
"element-ui": "2.15.14",
|
"element-ui": "2.15.14",
|
||||||
"js-cookie": "2.2.0",
|
"js-cookie": "2.2.0",
|
||||||
|
"lemon-imui": "^1.8.0",
|
||||||
"normalize.css": "7.0.0",
|
"normalize.css": "7.0.0",
|
||||||
"nprogress": "0.2.0",
|
"nprogress": "0.2.0",
|
||||||
"path-to-regexp": "2.4.0",
|
"path-to-regexp": "2.4.0",
|
||||||
|
@ -27,10 +27,11 @@ import '@/permission' // permission control
|
|||||||
// const { mockXHR } = require('../mock')
|
// const { mockXHR } = require('../mock')
|
||||||
// mockXHR()
|
// mockXHR()
|
||||||
// }
|
// }
|
||||||
import MChat from '@maybecode/m-chat'
|
|
||||||
|
|
||||||
Vue.use(MChat)
|
|
||||||
|
|
||||||
|
import LemonIMUI from 'lemon-imui';
|
||||||
|
import 'lemon-imui/dist/index.css';
|
||||||
|
Vue.use(LemonIMUI);
|
||||||
// set ElementUI lang to EN
|
// set ElementUI lang to EN
|
||||||
Vue.use(ElementUI, { locale })
|
Vue.use(ElementUI, { locale })
|
||||||
// 如果想要中文版 element-ui,按如下方式声明
|
// 如果想要中文版 element-ui,按如下方式声明
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="dashboard-container">
|
<div class="dashboard-container">
|
||||||
|
|
||||||
|
<lemon-imui ref="IMUI" />
|
||||||
|
|
||||||
<div class="dashboard-editor-container">
|
<div class="dashboard-editor-container">
|
||||||
<div>
|
<div>
|
||||||
<a href="https://github.com/iimeepo/vue-admin-template" target="_blank" class="github-corner" aria-label="View source on Github">
|
<a href="https://github.com/iimeepo/vue-admin-template" target="_blank" class="github-corner" aria-label="View source on Github">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user