@archilogic/plugin-container
v1.0.0
Published
An HTML container for Archilogic plugins
Downloads
84
Keywords
Readme
Plugin Container
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.
Local usage
Start the dev server:
npm run dev
Open a browser and visit: http://localhost:5173/?pluginUrl=<pluginUrl>&pluginName=<pluginName>
Usage via ESM CDN
Open a browser and visit: https://esm.sh/@archilogic/plugin-container/index.html?pluginUrl=<pluginUrl>
Query params
?pluginUrl
(required): the JS entry point for a plugin?pluginName
(optional): the name of the plugin