diff --git a/content/en/docs/refguide/runtime/mendix-client/react.md b/content/en/docs/refguide/runtime/mendix-client/react.md index aa9b4cbef74..84bb2027b95 100644 --- a/content/en/docs/refguide/runtime/mendix-client/react.md +++ b/content/en/docs/refguide/runtime/mendix-client/react.md @@ -83,9 +83,9 @@ Read further for guides that allow you convert your app so it is ready for the R The structure of the `index.html` file is different for React and Dojo clients. To make sure your application will work correctly, follow these steps: -1. Delete the custom `index.html`, or rename it temporarily. -2. Run the local deployment and copy the app/deployment/web/index-example.html to your app/theme/web/index.html. That will be your new `index.html`. -3. Apply any changes you want. +1. Delete the custom `app/theme/web/index.html`, or rename it temporarily. +2. Run the local deployment and copy the `app/deployment/web/index-example.html` to your `app/theme/web/index.html`. That will be your new `index.html`. +3. Apply customization where required. It is also possible to keep custom `index.html` files for both clients. To do this, name the React client index file *index-react.html*. This file will take precedence when the React client is enabled, while the `index.html` will be used for Dojo client deployments. diff --git a/content/en/docs/refguide10/runtime/mendix-client/react.md b/content/en/docs/refguide10/runtime/mendix-client/react.md index e5aeeca5502..0d2a59e623a 100644 --- a/content/en/docs/refguide10/runtime/mendix-client/react.md +++ b/content/en/docs/refguide10/runtime/mendix-client/react.md @@ -87,9 +87,9 @@ Read further for guides that allow you convert your app so it is ready for the R The structure of the `index.html` file is different for React and Dojo clients. To make sure your application will work correctly, follow these steps: -1. Delete the custom `index.html`, or rename it temporarily. -2. Run the local deployment and copy the app/deployment/web/index-example.html to your app/theme/web/index.html. That will be your new `index.html`. -3. Apply any changes you want. +1. Delete the custom `app/theme/web/index.html`, or rename it temporarily. +2. Run the local deployment and copy the `app/deployment/web/index-example.html` to your `app/theme/web/index.html`. That will be your new `index.html`. +3. Apply customization where required. It is also possible to keep custom `index.html` files for both clients. To do this, name the React client index file *index-react.html*. This file will take precedence when the React client is enabled, while the `index.html` will be used for Dojo client deployments.