@archilogic/plugin-container

0.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @archilogic/plugin-container

    Weekly Downloads

    15

    Version

    0.0.1

    License

    none

    Unpacked Size

    2.43 kB

    Total Files

    3

    Last publish

    Collaborators

    • mredele
    • stavrosatarchilogic
    • archilogic-ci
    • frederic-schwarz
    • bendevine