123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- // The Vue build version to load with the `import` command
- // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
- import Vue from 'vue'
- import App from './App'
- import router from './router'
- import ElementUI from 'element-ui'
- import 'element-ui/lib/theme-chalk/index.css'
- import axios from 'axios'
- import VueCookies from 'vue-cookies'
- // 引入echarts
- import echarts from 'echarts'//echarts
- import store from './store'
- import directive from './directive' // directive
- import plugins from './plugins' // plugins
- import { selectDictLabel, selectDictLabels} from "@/utils/ruoyi";
- import '@/assets/styles/ruoyi.scss' // ruoyi css
- //首佳UI
- import '@/assets/styles/base.scss' // 自定义公共样式
- import '@/assets/iconfont/iconfont.css'; //字体图标
- import '@/assets/iconfont/iconfont.js'; //字体图标
- import '@/assets/styles/font.scss';//字体引入
- // 字典数据组件
- import DictData from '@/components/DictData'
- import './assets/icons' // icon
- import './permission' // permission control
- //DataV动效组件
- import dataV from '@jiaminghi/data-view'
- // //WebSocket封装方法
- // import * as socketApi from '@/api/socket'
- // Vue.prototype.socketApi = socketApi
- Vue.prototype.$axios = axios
- Vue.config.productionTip = false
- Vue.prototype.selectDictLabel = selectDictLabel
- Vue.prototype.selectDictLabels = selectDictLabels
- Vue.use(ElementUI)
- Vue.use(VueCookies)
- Vue.use(directive)
- Vue.use(plugins)
- Vue.use(dataV)
- Vue.prototype.$echarts = echarts //挂载echarts
- DictData.install()
- /* eslint-disable no-new */
- new Vue({
- el: '#app',
- router,
- store,
- render: h => h(App)
- })
|