This package hosts an HTML file which can be used to load plugins by URL. It is published to the npm registry alongside the plugin packages so that it can be served via CDN.
Start the dev server:
npm run dev
Open a browser and visit: http://localhost:5173/?pluginUrl=<pluginUrl>&pluginName=<pluginName>
Open a browser and visit: https://esm.sh/@archilogic/plugin-container/index.html?pluginUrl=<pluginUrl>
-
?pluginUrl
(required): the JS entry point for a plugin -
?pluginName
(optional): the name of the plugin