1234567891011121314151617181920212223242526 |
- import Vue from 'vue'
- import ElementUI from 'element-ui'
- import 'element-ui/lib/theme-chalk/index.css';
- import App from './App.vue'
- import router from './router/index.js'
- import store from './store/index.js'
- import api from './api/index'
- // if (!process.env.IS_WEB) app.use(require('vue-electron'))
- // app.electron = app.config.globalProperties.$electron = electron
- Vue.prototype.$api = api
- Vue.config.productionTip = false
- Vue.use(ElementUI);
- new Vue({
- components: { App },
- router,
- store,
- ElementUI,
- created() {
- },
- template: "<App/>",
- }).$mount("#app");
|