1 Star 0 Fork 219

天然喵/IM即时聊天-web

forked from Raingad/IM即时聊天-web 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.js 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui'
import UserCard from '@/components/message/user/index'
Vue.use(UserCard)
import Preview from '@/components/message/preview/index.js'
Vue.use(Preview)
import LemonIMUI from 'lemon-imui-rx';
import 'lemon-imui-rx/dist/index.css';
Vue.use(ElementUI, { size: 'small' })
Vue.use(LemonIMUI);
import router from './router'
import store from './store'
Vue.use(store);
import Clipboard from 'v-clipboard'
Vue.use(Clipboard)
Vue.config.productionTip = false
import './directive/index'
import '@/permission' // 权限控制
import packageData from '../package.json' // 全局数据
Vue.prototype.$packageData = packageData;
import LemonMessageVoice from "./components/message/messageType/voice";
import LemonMessageVideo from "./components/message/messageType/video";
import LemonMessageWebrtc from "./components/message/messageType/webrtc";
import LemonMessageFile from "./components/message/messageType/file";
Vue.component(LemonMessageVideo.name, LemonMessageVideo);
Vue.component(LemonMessageVoice.name, LemonMessageVoice);
Vue.component(LemonMessageWebrtc.name, LemonMessageWebrtc);
Vue.component(LemonMessageFile.name, LemonMessageFile);
import Api from "@/api/index.js"
Vue.prototype.$api = Api
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
store,
components: { App },
template: '<App/>'
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/natural-meow/im-chat-front.git
git@gitee.com:natural-meow/im-chat-front.git
natural-meow
im-chat-front
IM即时聊天-web
master

搜索帮助