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.
18 lines
512 B
18 lines
512 B
import Vue from 'vue'
|
|
|
|
import App from './app'
|
|
import Page from './page'
|
|
import AsyncError from './async-error'
|
|
import AsyncLoading from './async-loading'
|
|
|
|
import SystemRouteComponents from 'uni-h5-system-routes'
|
|
|
|
Vue.component(App.name, App)
|
|
Vue.component(Page.name, Page)
|
|
Vue.component(AsyncError.name, AsyncError)
|
|
Vue.component(AsyncLoading.name, AsyncLoading)
|
|
|
|
Object.keys(SystemRouteComponents).forEach(name => {
|
|
const Component = SystemRouteComponents[name]
|
|
Vue.component(Component.name, Component)
|
|
})
|
|
|