Is ssr possible?
EarthlingDavey opened this issue ยท 2 comments
EarthlingDavey commented
Feature request.
Please can we have a mode operation where a the default SSR feature of next.js is retained and static site is not generated?
Your project looks very interesting btw. Awesome work
fand commented
Thanks @DaveyBrown !
MDMT is just a wrapper of Next.js so it's super easy - just run npm run build && npm start
then Next.js starts in production mode with SSR
EarthlingDavey commented
That's very cool. I modified build
to
"build": "NODE_ENV=production run-s clean build:manifest build:build",
It looks to be working.
Is that correct? Please advise ๐