app.js
345 Bytes
// import App from './index.vue'
import base from '@/base'
import GlsxVueCommon from 'glsx-vue-common'
const Apps = require.context('./', false, /\.vue$/)
Apps.keys().map(item => {
base.getConfig().then(data => {
const {
vue,
config
} = data
vue.use(GlsxVueCommon, config)
base.render(Apps(item).default)
})
})