0.8.31 • Published 2 years ago
@pandino/bundle-installer-dom v0.8.31
bundle-installer-dom
A Pandino Bundle which can load external Bundles defined in a dedicated DOM node.
Context
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).
Usage
Define manifests
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>
Install this Bundle in your Application
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');
License
Eclipse Public License - v 2.0
0.8.30
2 years ago
0.8.31
2 years ago
0.8.29
2 years ago
0.8.28
2 years ago
0.8.25
2 years ago
0.8.24
2 years ago
0.8.27
2 years ago
0.8.26
2 years ago
0.8.23
2 years ago
0.8.22
2 years ago
0.8.20
2 years ago
0.8.19
3 years ago
0.8.18
3 years ago
0.8.17
3 years ago
0.8.16
3 years ago
0.8.15
3 years ago
0.8.14
3 years ago
0.8.13
3 years ago
0.8.12
3 years ago
0.8.9
3 years ago
0.8.8
3 years ago