Add an IIFE version of lux that loads all of its components.
This would allow applications to include lux using <script src="[CDN URL goes here]", rather than <script type="importmap".
This is needed to add lux to LibWizard, since LibWizard only allows us to add <script src, not <script type="importmap".
Level of urgency
[ ] High
[x] Moderate
[ ] Low
Why is this maintenance needed?
We need to do this so that we can include lux in libwizard (related to https://github.com/pulibrary/libapps/issues/26). This will allow libwizard to have a consistent header and footer with other public-facing applications when the website goes live.
Acceptance criteria
[ ] Lux components can be included in a page using a <script src="[CDN URL goes here]"> script tag, rather than an importmap.
Vue has an IIFE version called global, and this is how we (@VickieKarasic , @christinach, and I) were able to load it in libwizard. However, lux does not have an IIFE version (just MJS and UMD), so we weren't able to load it.
What maintenance needs to be done?
Add an IIFE version of lux that loads all of its components.
This would allow applications to include lux using
<script src="[CDN URL goes here]"
, rather than<script type="importmap"
.This is needed to add lux to LibWizard, since LibWizard only allows us to add
<script src
, not<script type="importmap"
.Level of urgency
Why is this maintenance needed?
Acceptance criteria
<script src="[CDN URL goes here]">
script tag, rather than an importmap.Implementation notes, if any