-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Tobjoern , Embedding a Nuxt.js app or any other type of app as an iframe based microfrontend can be achieved in a couple of steps. Here are some tips to get you started: First you need to embed Luigi Core on the React App which you use to host your main application. Once you have Luigi Core running on your main React App, you just need to add your Nuxt.js app in the node configuration on the luigi-config.js file as a new node. As you want your new Nuxt.js node to have its own routing, we provide a feature to make that possible. For this you can set the property virtualTree to true on the node you just added. This allows the microfrontend url to change independently of the main App. So you will not see any changes in the main URL of your app. Let us know if you have any further questions. |
Beta Was this translation helpful? Give feedback.
Hi @Tobjoern ,
Embedding a Nuxt.js app or any other type of app as an iframe based microfrontend can be achieved in a couple of steps. Here are some tips to get you started:
First you need to embed Luigi Core on the React App which you use to host your main application.
You can use our CRA-Luigi-Template to easily create a React based Luigi App, and have a look at the index.html and the luigi-config.js file for how that is done.
Once you have Luigi Core running on your main React App, you just need to add your Nuxt.js app in the node configuration on the luigi-config.js file as a new node.
As you want your new Nuxt.js node to have its own routing, we provide a feature to make that possibl…