-
Notifications
You must be signed in to change notification settings - Fork 10
/
main.js
29 lines (24 loc) · 846 Bytes
/
main.js
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
26
27
28
29
import Vue from 'vue'
import App from './App'
import Rq from './util/Rq.js'
import Api from './api.js'
import sunStar from './components/sunui-star.vue'
import sunradioCheckbox from './components/sunradio-checkbox.vue'
import sunSwiper from './components/sunui-swiper.vue'
import sunUpImg from './components/sunui-upimg.vue'
import sunSpeaker from './components/sunui-speaker.vue'
import sunuiTab from './components/sunui-tab.vue'
Vue.component('sunui-tab',sunuiTab);
Vue.component('sunui-upimg', sunUpImg);
Vue.component('sunradio-checkbox', sunradioCheckbox);
Vue.component('sunui-star', sunStar);
Vue.component('sunui-speaker', sunSpeaker);
Vue.component('sunui-swiper', sunSwiper);
Vue.prototype.$Rq = Rq.Rq;
Vue.prototype.$Api = Api.api;
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()