nuxt-micro-frontend
nuxt-micro-frontend copied to clipboard
Running in dev mode works, but in production mode not
I have two projects in different repositories: main-app and sub-app (both nuxt app).
I already configurated based on your examples, but when building and start the applications the resources of the sub-app are not found from the main-app, look below the image. In dev mode works perfectly.
Is there some configuration about the path?

For some reason running the application built (/dist
) doesn't work. The main app tries to get nuxt files of sub-app from itself. Running in dev this doesn't happen. I tested the example nuxt-main-self-load-demo
in production mode this issue also occurs, I thought that was some problem with my configuration, but is not. Do you have any idea how to solve that problem?
i think you quesition is how to deploy nuxt project in prod ?