-
Notifications
You must be signed in to change notification settings - Fork 24
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
Conversation
@@ -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 |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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
No description provided.