Answer the question
In order to leave comments, you need to log in
How to correctly deploy nuxt applications on github?
Hello everyone, new to this business, I apologize in advance if the solution to this problem is really easy. Started making a site on nuxt.js, using custom api/routes in the application. I did everything, the frontend is in order, the data is retrieved from the database without problems and everything works fine on localhost when I run it on my own. But now the problem is when I upload the project to github. Collected everything as it should, the dist folder, all things. Uploaded to git, visits the site - but does not see the database, from the word at all. What could be the problem? If you need any data / screenshots, I can easily provide. Thanks
Folder structure:
nuxt.config.js:
Answer the question
In order to leave comments, you need to log in
What could be the problem?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question