mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 12:10:38 +08:00
28 lines
578 B
JavaScript
28 lines
578 B
JavaScript
import Vue from 'vue'
|
|
import axios from 'axios'
|
|
|
|
import App from './App'
|
|
import store from './store'
|
|
|
|
import './assets/symbolIcon'
|
|
import './index.css'
|
|
|
|
import { Dialog, Form, FormItem, InputNumber, Button, Tooltip } from 'element-ui'
|
|
Vue.use(Dialog)
|
|
Vue.use(Form)
|
|
Vue.use(FormItem)
|
|
Vue.use(InputNumber)
|
|
Vue.use(Button)
|
|
Vue.use(Tooltip)
|
|
|
|
if (!process.env.IS_WEB) Vue.use(require('vue-electron'))
|
|
Vue.http = Vue.prototype.$http = axios
|
|
Vue.config.productionTip = false
|
|
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
components: { App },
|
|
store,
|
|
template: '<App/>'
|
|
}).$mount('#app')
|