I have created a small test app to learn Next/React, and it runs locally using npm run dev
. But I want to host it on a domain I bought and run at SmarterASP.
When I run npm build
it builds and I see a .next
folder appear, containing this:
If I look at static
, I see this:
I was hoping to see an index.html
file or some entry point to launch the app. I feel my understanding of how Next.js apps are hosted is badly flawed.
How can I host my app on a static server? I thought you could basically host these on a file server, like React.