1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| import Vue from 'vue';
| import App from './App';
| import axios from 'axios'
| import router from './router/router.js'
|
|
| import Antd from 'ant-design-vue/es';
| import 'ant-design-vue/dist/antd.less';
| Vue.use(Antd);
|
| import infiniteScroll from 'vue-infinite-scroll'
| Vue.use(infiniteScroll)
|
| import APlayer from '@moefe/vue-aplayer';
|
| Vue.use(APlayer,{productionTip:false})
|
| Vue.prototype.$axios = axios
|
| new Vue({
| el: '#app',
| router, //挂载路由
| render: h => h(App)
| })
| // .$mount('#app');
|
|