@julong/micro-frontend-utils
v1.0.3
Published
This README would normally document whatever steps are necessary to get your application up and running.
Downloads
2
Readme
Micro FrontEnd Utils
Guide
// react
import react from 'react'
import ReactDOM from 'react-dom'
import { moduleLoader } from '@julong/micro-frontend-utils';
moduleLoader('ground1', <App />, ReactDOM)
// vue
import { moduleLoader } from '@julong/micro-frontend-utils';
const app = new Vue({
router,
render: h => h(App),
})
moduleLoader('ground3', app);