Hello, I am building a micro frontend architecture with single-spa. In my main app (bootstrap), I declare my fragments, my routing and I inject the component library (ex: element UI), and my authentication library (custom).
Everything works fine, display and routing, though:
- how to use a component of elementUI in a fragment? Example:
import {Button} from 'element-ui'
I have tried with this code (where component_name is button or other)
<component :is="component_name">bla bla</component>
but Vue does not recognize this button.
- How to use utility functions of the authentication library. For example recover the access rights for a component? Calling the function directly does not work.
Thanks