2020-10-20 19:43:11 +08:00
|
|
|
import Vue from "vue";
|
2021-02-28 14:50:52 +08:00
|
|
|
import App from "./App";
|
2020-10-20 19:43:11 +08:00
|
|
|
import store from "./store";
|
|
|
|
import ElementUI from "element-ui";
|
|
|
|
import "element-ui/lib/theme-chalk/index.css";
|
|
|
|
import "./plugins/element";
|
|
|
|
import "codemirror/lib/codemirror.css";
|
|
|
|
import "codemirror/theme/xq-light.css";
|
|
|
|
import "codemirror/mode/css/css";
|
|
|
|
import "codemirror/mode/markdown/markdown";
|
2020-12-03 00:51:39 +08:00
|
|
|
import "codemirror/addon/edit/closebrackets";
|
2020-10-20 19:43:11 +08:00
|
|
|
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";
|
2021-11-23 11:07:28 +08:00
|
|
|
import router from './router';
|
2020-12-03 00:51:39 +08:00
|
|
|
|
2020-10-20 19:43:11 +08:00
|
|
|
Vue.use(ElementUI);
|
2020-01-13 22:16:04 +08:00
|
|
|
|
2020-10-20 19:43:11 +08:00
|
|
|
Vue.config.productionTip = false;
|
2020-01-13 22:16:04 +08:00
|
|
|
|
2021-02-28 14:50:52 +08:00
|
|
|
App.mpType = "app";
|
|
|
|
|
|
|
|
const app = new Vue({
|
2021-11-23 11:07:28 +08:00
|
|
|
router,
|
2021-02-28 14:50:52 +08:00
|
|
|
store,
|
|
|
|
...App,
|
|
|
|
});
|
2021-11-23 11:07:28 +08:00
|
|
|
app.$mount("#app");
|