17 lines
416 B
JavaScript
17 lines
416 B
JavaScript
import Vue from 'vue';
|
|
import App from './App'
|
|
import uView from './uview-ui'
|
|
import { TextEncoder, TextDecoder } from 'text-decoding'
|
|
import moment from './common/moment.min.js'
|
|
moment.locale('zh-cn')
|
|
Vue.prototype.$moment = moment;
|
|
global.TextEncoder = TextEncoder
|
|
global.TextDecoder = TextDecoder
|
|
Vue.use(uView)
|
|
Vue.config.productionTip = false
|
|
App.mpType = 'app'
|
|
|
|
const app = new Vue({
|
|
...App
|
|
})
|
|
app.$mount() |