md/src/main.js

28 lines
813 B
JavaScript
Raw Normal View History

2020-01-13 22:16:04 +08:00
import Vue from 'vue'
import App from './App.vue'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
2020-07-09 21:50:20 +08:00
import './plugins/element'
2020-02-13 21:50:27 +08:00
import 'codemirror/lib/codemirror.css';
2020-07-04 00:48:27 +08:00
import 'codemirror/theme/ambiance.css';
import 'codemirror/theme/xq-light.css';
import 'codemirror/mode/css/css'
import 'codemirror/mode/markdown/markdown'
import 'codemirror/addon/edit/matchbrackets'
import 'codemirror/addon/selection/active-line'
import 'codemirror/addon/hint/show-hint.js'
import 'codemirror/addon/hint/css-hint.js'
import './assets/less/theme.less';
// 对codemirror预处理
2020-07-09 21:55:10 +08:00
import './assets/scripts/format'
import './assets/scripts/closebrackets'
2020-01-13 22:16:04 +08:00
Vue.use(ElementUI)
Vue.config.productionTip = false
new Vue({
2020-05-17 16:53:21 +08:00
store,
render: h => h(App)
2020-01-13 22:16:04 +08:00
}).$mount('#app')