A Pandino Bundle which can load external Bundles defined in a dedicated DOM node.
This package is part of the pandino-root monorepo. For detailed information about what is Pandino / how this package fits into the ecosystem, please consult with the related documentation(s).
Define a <script type="pandino-manifests" />
tag in your index.html
, e.g.:
<script type="pandino-manifests">
[
"./bundle-a-manifest.json",
"./bundle-b-manifest.json"
]
</script>
E.g.: directly via the Pandino instance.
import loaderConfiguration from 'https://unpkg.com/@pandino/loader-configuration-dom/dist/loader-configuration-dom.mjs';
import Pandino from 'https://unpkg.com/@pandino/pandino/dist/esm/pandino.mjs';
const pandino = new Pandino({
...loaderConfiguration,
});
await pandino.init();
await pandino.start();
await pandino.getBundleContext().installBundle('https://unpkg.com/@pandino/bundle-installer-dom/dist/bundle-installer-dom-manifest.json');
Eclipse Public License - v 2.0