You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pingAnQiYeWeb/src/main.js

55 lines
1.7 KiB

import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import HighchartsVue from 'highcharts-vue'
import highcharts from 'highcharts'
import highcharts3d from 'highcharts/highcharts-3d'
highcharts3d(highcharts)
import 'element-ui/lib/theme-chalk/index.css';
import router from './router'
import store from './store'
import Message from './components/message';
import erupload from "./components/upload";
import lkyTable from "./components/publicModule/lkyTable" // 本组件样式包含普通表格、分页
import lkyPagination from "./components/publicModule/lkyPagination" // 本组件单独抽离分页样式
import "@/loveflow/assets/index.less"
import "@/loveflow/assets/reset.less"
import "@/loveflow/assets/reset.scss"
import * as cusRule from '@/loveflow/rules'
import { registerPlugins } from '@/loveflow/plugins/index'
import FormDialog from '@/loveflow/components/modal/formDialog.vue'
import gMainTable from '@/loveflow/components/data/table.vue'
import gScreenTable from '@/loveflow/components/data/screenTable.vue'
import gDict from '@/loveflow/components/data/dict.vue'
import gChart from '@/loveflow/components/echart/chart.vue'
import * as echarts from "echarts";
Vue.prototype.$echarts = echarts;
Vue.prototype.$rules = cusRule
registerPlugins(Vue)
Vue.use(ElementUI);
Vue.use(Message);
Vue.use(HighchartsVue)
Vue.component('erupload', erupload)
Vue.component('lkyTable', lkyTable)
Vue.component('lkyPagination',lkyPagination)
Vue.component('FormDialog', FormDialog)
Vue.component('gMainTable', gMainTable)
Vue.component('gScreenTable', gScreenTable)
Vue.component('gDict', gDict)
Vue.component('gChart', gChart)
const vm = new Vue({
el: '#app',
router,
store,
render: h => h(App)
}).$mount('#app')
export default vm