|
@@ -3,25 +3,13 @@ import Vue from 'vue'
|
|
|
import App from './App.vue'
|
|
|
import router from './router'
|
|
|
|
|
|
-import Antd from 'ant-design-vue'
|
|
|
-
|
|
|
-import ElementUI from 'element-ui';
|
|
|
-import 'element-ui/lib/theme-chalk/index.css';
|
|
|
-import locale from 'element-ui/lib/locale/lang/zh-CN'
|
|
|
+import Antd from 'ant-design-vue'
|
|
|
|
|
|
import * as echarts from 'echarts';
|
|
|
import 'animate.css/animate.min.css'
|
|
|
|
|
|
import { PiniaVuePlugin, createPinia } from 'pinia'
|
|
|
|
|
|
-/* 自定义滚动条 */
|
|
|
-// 组件引入
|
|
|
-import { HappyScroll } from 'vue-happy-scroll'
|
|
|
-// 组件命名
|
|
|
-Vue.component('happy-scroll', HappyScroll)
|
|
|
-// 组件样式引入
|
|
|
-import 'vue-happy-scroll/docs/happy-scroll.css'
|
|
|
-
|
|
|
// 全局方法
|
|
|
import util from '@/utils/index'
|
|
|
// 常量
|
|
@@ -34,8 +22,7 @@ Vue.prototype.$constant = constant
|
|
|
Vue.prototype.$echarts = echarts
|
|
|
Vue.prototype.$moment = moment
|
|
|
|
|
|
-Vue.use(Antd)
|
|
|
-Vue.use(ElementUI, { locale });
|
|
|
+Vue.use(Antd)
|
|
|
Vue.use(PiniaVuePlugin)
|
|
|
|
|
|
new Vue({
|