svcsa-dev / svcsa-react

0 stars 0 forks source link

Update next.js build mode #19

Closed umliuxin closed 1 month ago

umliuxin commented 3 months ago

Currently, we are using output: export to generate static web pages(html, css, client side js) and server the app by azure static web app.

With more features coming in, we start to see static web pages are not fit for our usecase. Instead of static web app, we should serve the app in a server like node or docker

Next.js provides several options: https://nextjs.org/docs/pages/building-your-application/deploying#self-hosting

The end goal is to deploy the app in a cloud server, like azure, with capability of dynamic rendering