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.
- Clone your new repository.
- Open
package.json
and changemy-mfe
in thename
property to the desired name of your microfrontend, don't remove the@stratsys/
scope. - Open
mfe.config.json
and change the"name"
property from"my-mfe"
to the same name you used in the previous step (without@stratsys/
). - Open
dev/index.html
and change the custom element<my-mfe></my-mfe>
to<name></name>
. - Run
yarn install
- Open
scripts/init.sh
and changemy-mfe
in the value ofMFE_NAME
to the name of your microfrontend. - Add all changes, commit and push.
- Create a new DevOps pipeline from the configuration provided.
- ...
- Profit!
- (Update README)