forked from xiaowang1314/uniapp-plugin-collections
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
45 lines (38 loc) · 1.4 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false
import countUp from './components/countUp.vue'
import validCode from './components/validCode.vue'
import savefile from './components/saveFile.vue'
import screenTextScroll from './components/screenTextScroll.vue'
import loading from './components/loading/loading.vue'
//瀑布流纵向display:flex 支持H5 Ios Android
import waterfall from './components/waterfall.vue'
//瀑布流横向display:flex 支持H5 Ios Android
import waterfall2 from './components/waterfall2.vue'
// 自定义扫码
import scan from './components/scan.vue'
//模拟电池充电
import battery from './components/battery/battery.vue'
//flex实现表格布局
import table from './components/table/table.vue'
//输入框模糊搜索
import inputSearch from './components/inputSearch.vue'
import drawer from './components/drawer/drawer.vue'
Vue.component('countup', countUp)
Vue.component('validcode', validCode)
Vue.component('savefile', savefile)
Vue.component('textscroll', screenTextScroll)
Vue.component('loading', loading)
Vue.component('waterfall', waterfall)
Vue.component('waterfall2', waterfall2)
Vue.component('scan', scan)
Vue.component('battery', battery)
Vue.component('m-table', table)
Vue.component('inputSearch', inputSearch)
Vue.component('drawer', drawer)
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()