Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 1.06 KB

README.md

File metadata and controls

17 lines (15 loc) · 1.06 KB

Microfrontend Template

This is a microfrontend template you can use to create new microfrontends intended for use in the PDR microfrontend ecosystem. To use the template create a new project from the template as per these instructions and then perform the following steps.

  1. Clone your new repository.
  2. Open package.json and change my-mfe in the name property to the desired name of your microfrontend, don't remove the @stratsys/ scope.
  3. Open mfe.config.json and change the "name" property from "my-mfe" to the same name you used in the previous step (without @stratsys/).
  4. Open dev/index.html and change the custom element <my-mfe></my-mfe> to <name></name>.
  5. Run yarn install
  6. Open scripts/init.sh and change my-mfe in the value of MFE_NAME to the name of your microfrontend.
  7. Add all changes, commit and push.
  8. Create a new DevOps pipeline from the configuration provided.
  9. ...
  10. Profit!
  11. (Update README)