mv-dependencies contains third party libraries that are used with the meveo frontend framework components.
- lit-element
- jsonata
- es-module-shims
- router-slot
To experiment with the mv-dependencies component.
- Clone this repo.
- Import the js library that is needed in the component
lit-element
is best imported using importmaps
<script defer src="{module directory}/es-module-shims.js"></script>
<script type="importmap-shim">
{
"imports": {
"lit-element": "{module directory}/lit-element.js"
}
}
</script>
<script type="module-shim" src="./component-that-uses-lit-element.js"></script>
Uses the following libraries: