1 Star 0 Fork 843

WangJiaYou/AnotherRedisDesktopManager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.js 795 Bytes
一键复制 编辑 原始数据 按行查看 历史
qishibo 提交于 5年前 . binary view support
import Vue from 'vue';
import ElementUI from 'element-ui';
import 'font-awesome/css/font-awesome.css';
import App from './App';
import i18n from './i18n/i18n';
import bus from './bus';
import util from './util';
import storage from './storage';
Vue.prototype.$bus = bus;
Vue.prototype.$util = util;
Vue.prototype.$storage = storage;
Vue.use(ElementUI, { size: 'small' });
Vue.config.productionTip = false;
/* eslint-disable no-new */
var vue = new Vue({
el: '#app',
i18n,
components: { App },
template: '<App/>',
});
// handle uncaught exception
process.on('uncaughtException', (err, origin) => {
if (!err) {
return;
}
vue.$message.error({
message: 'Uncaught Exception: ' + err,
duration: 5000,
});
vue.$bus.$emit('closeConnection');
});
export default vue;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/wq455133/AnotherRedisDesktopManager.git
git@gitee.com:wq455133/AnotherRedisDesktopManager.git
wq455133
AnotherRedisDesktopManager
AnotherRedisDesktopManager
master

搜索帮助