D
D
donnyho2019-07-07 23:56:19
JavaScript
donnyho, 2019-07-07 23:56:19

How to upload Next.js application to hosting?

Due to the need to index the site, I had to use Next.js, not CRA. When executing the build command in the case of CRA, we get a finished application, and when building Next.js we get a .next folder containing 2 static and server folders, however, when accessed through the server, the application does not start. Does this mean that SPA hosting requires a virtual server that needs to run node.js?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2019-07-08
@donnyho

https://nextjs.org/docs#production-deployment

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question