Skip to content
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

Running in dev mode works, but in production mode not #35

Open
ilp opened this issue Dec 22, 2020 · 2 comments
Open

Running in dev mode works, but in production mode not #35

ilp opened this issue Dec 22, 2020 · 2 comments

Comments

@ilp
Copy link

ilp commented Dec 22, 2020

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?

Screen Shot 2020-12-22 at 12 10 51

@ilp
Copy link
Author

ilp commented Dec 23, 2020

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?

@cjfff
Copy link
Contributor

cjfff commented Feb 27, 2021

i think you quesition is how to deploy nuxt project in prod ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants