You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
603 B
32 lines
603 B
|
|
import Vue from 'vue'
|
|
|
|
import 'uni-platform/view/index.css'
|
|
|
|
import {
|
|
definePage
|
|
} from 'uni-platform/page-factory'
|
|
|
|
import {
|
|
getCurrentPages
|
|
} from 'uni-platform/view/framework/page'
|
|
|
|
import ViewPlugin from 'uni-platform/view/framework/plugins/index'
|
|
|
|
global.UniViewJSBridge = {
|
|
subscribe: UniViewJSBridge.subscribe,
|
|
publishHandler: UniViewJSBridge.publishHandler,
|
|
subscribeHandler: UniViewJSBridge.subscribeHandler
|
|
}
|
|
|
|
global.getCurrentPages = getCurrentPages
|
|
|
|
global.__definePage = definePage
|
|
|
|
global.Vue = Vue
|
|
|
|
Vue.use(ViewPlugin)
|
|
|
|
require('uni-components')
|
|
|
|
export * from './view-api.js'
|
|
|