Skip to content

Tutor-mfe plugins #133

@arbrandes

Description

@arbrandes

Description

Create a plugin to tutor-mfe that allows operators to select whether a given MFE will be deployed as an SPA or as a frontend-base app.

Requirements

  1. Upon a rebuild of the mfe image, includes both MFE and frontend-base build artifacts. It does not remove any existing MFEs, just adds the frontend-base ones.
  2. Exposes site.config in a similar way to how env.config.jsx is exposed today.
  3. Modifies Django config so that the frontend-base in question is used by default when enabled.
  4. Modifies site.config's roles and external URLs so that they link out correctly to SPA MFEs when they're not in frontend-base mode.

In addition, in dev mode it should be possible to easily disable the frontend-base site's port binding in a way similar to how bind-mounting an MFE and not starting its dev image does it. This is so it'll possible to develop frontend-base MFEs by running npm run dev outside the Tutor Docker container, but still having it work.

Finally, we're tacking on the proposed tutor-googleanalytics plugin as a sub-issue here, too.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions