From c23efbe2832d1a9eecd4ef5d20d984661b24dd22 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Tue, 22 Feb 2022 01:21:52 +0800 Subject: [PATCH] 文章添加补充 --- src/main.js | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/main.js b/src/main.js index e319c2b..99eee08 100644 --- a/src/main.js +++ b/src/main.js @@ -1,26 +1,26 @@ import Vue from 'vue'; import App from './App'; -import uploader from 'vue-simple-uploader' +import axios from 'axios' +import router from './router/router.js' -import 'element-ui/lib/theme-chalk/index.css'; import Antd from 'ant-design-vue/es'; -import 'ant-design-vue/dist/antd.less'; // 引入官方提供的 less 样式入口文件 -import $ from 'jquery' +import 'ant-design-vue/dist/antd.less'; +Vue.use(Antd); -import axios from 'axios' -import Element from 'element-ui' -import store from "@/components/test7/store.js" +import infiniteScroll from 'vue-infinite-scroll' +Vue.use(infiniteScroll) + +import APlayer from '@moefe/vue-aplayer'; + +Vue.use(APlayer,{productionTip:false}) +import './mock/' Vue.prototype.$axios = axios -Vue.use(Antd); -Vue.use(Element) -Vue.use(uploader) -// Vue.component(Button.name, Button); - -// Vue.config.productionTip = false; new Vue({ - render: h => h(App), - store, -}).$mount('#app'); + el: '#app', + router, //挂载路由 + render: h => h(App) +}) +// .$mount('#app'); -- Gitblit v1.9.1