Skip to content

How to embed Nuxt.js into React App (with Routing) #2923

Answered by ndricimrr
Tobjoern asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tobjoern
Comment options

Answer selected by Tobjoern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants