| | |
| | | import Vue from 'vue' |
| | | import ElementUI from 'element-ui' |
| | | import 'element-ui/lib/theme-chalk/index.css' |
| | | import App from './App.vue' |
| | | import Vue from 'vue'; |
| | | import App from './App.vue'; |
| | | |
| | | import TreeDataPool from "@/Pool/TreeData"; |
| | | |
| | | import ElementUI from 'element-ui'; |
| | | import 'element-ui/lib/theme-chalk/index.css'; |
| | | import "@/assets/css/element-variables.scss"; |
| | | Vue.use(ElementUI) |
| | | |
| | | const onlyTreeDataPool = new TreeDataPool |
| | | |
| | | const mixin = { |
| | | data() { |
| | | return { |
| | | TreeDataPool: onlyTreeDataPool |
| | | }; |
| | | }, |
| | | }; |
| | | |
| | | Vue.mixin(mixin); |
| | | |
| | | new Vue({ |
| | | el: '#app', |
| | | render: h => h(App) |