Deploying a Next.js app
Unanswered
Pallas's Bunting posted this in #help-forum
Pallas's BuntingOP
Hello, I'm new to Next.js and I wrote a simple project that lets the user log into the page using NextAuth.js and send some files to a database. I wanted to deploy this project bu simply putting the contents of the dist folder onto an ftp server, like I previously did when creating static websites with vanilla react. However, I noticed that index.html was missing. I tried to look for the answer on the internet but, to my surprise, found very little articles about the topic.
1 Reply
Pallas's BuntingOP
I also just thought about installing node on the server and simply running it in production mode with npm run build and then start. Please let me know if any of this makes sense