This section will explain the different kind of integration modes and how to make them work.
If you don't know where to place them, we suggest reading Core configuration first.
In order to work with
href plugin doesn't require any kind of adjustment.
This is the simplest plugin that
micro-lc support: it allows you to redirect the user to another page,
using the same window or a different one, using the sameWindow property.
To work correctly
iframe needs the
this must be configured on the web server in which the front-end application is exposed.
For security reasons, we suggest configuring
ALLOW-FROM instead of a wildcard.
This kind of plugin allows you to include a website without changing its implementation, but also has some limitations:
iframecan't access the
css variablesprovided by
iframedoesn't support the properties injected by
- inside an
iframeisn't possible to control the
If you own the website to integrate, we advise you to use a
To integrate this kind of plugins we rely on the
that requires most attention on the developer side.
To integrate a
qiankun plugin with
micro-lc, you must adapt your web application following the steps described
the right procedure depends on the framework used to build the website.
If you want to create a plugin from scratch using
React, consider to use
Depending on where you expose your plugin, you should configure the
For security reasons, we discourage the use of a wildcard.
qiankun plugin is able to communicate with other
qiankun plugins and to navigate to
iframe plugins just using
window.history.push functionality: the parameters between plugins can be shared using the
An implementation example is available on GitHub, as you can see:
is used to parse the received parameters, while:
is used to navigate to another plugin while it is passing the