Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENDOC-561 edits to simple MFE tutorial #564

Merged
merged 3 commits into from
Sep 7, 2022
Merged

ENDOC-561 edits to simple MFE tutorial #564

merged 3 commits into from
Sep 7, 2022

Conversation

Lyd1aCla1r3
Copy link
Contributor

No description provided.

@@ -90,6 +92,7 @@ You’re now using a custom element to display a React app.

1. From the root bundle directory, generate the Docker image:
``` sh
cd simple-bundle
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need this command. If you're in the MFE subdirectory, you would either use cd ../.. - or simply leave the comment that they should work from the root bundle directory.

@@ -13,23 +13,25 @@
ent bundle init simple-bundle
```

2. Add an MFE to the bundle project structure:
2. From the root bundle folder, add an MFE to the bundle project structure:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding an MFE is not really adding it to the structure, so this seems misleading, like it's only a structural thing when it adds a folder but also adds it to the entando.json

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

disagree, because structure pertains to both file contents and directory, like how code is written as well as file hierarchy. i'll remove "structure" to keep both implied without an extra word

npx create-react-app simple-mfe --use-npm
```
Use the bundle name you chose when adding an MFE to overwrite the empty bundle folder created in the previous step.
Assign the same bundle name you chose when adding an MFE to overwrite that empty bundle folder.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty bundle folder>> empty MFE folder

@Lyd1aCla1r3 Lyd1aCla1r3 merged commit f99ff2d into main Sep 7, 2022
@Lyd1aCla1r3 Lyd1aCla1r3 changed the title ENDOC-561 Cover for Last Week Lydia ENDOC-561 edit to simple MFE tutorial Sep 7, 2022
@Lyd1aCla1r3 Lyd1aCla1r3 changed the title ENDOC-561 edit to simple MFE tutorial ENDOC-561 edits to simple MFE tutorial Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants