How to deploy servers for nuxt.js server rendering after performing npm run build and npm start on the official website?

after packing, you can also find the dist folder under .nuxt, but the generated files are different from those packaged with vue before. What files do you want to deploy to the server? What kind of configuration does the server have to do again

ask for a reply! ~

Mar.02,2021

nuxt generate is packing. It's not dist under .nuxt, is it? Is the dist in the project directory. Just put the dist content in a server. For example, you can watch it by using http-server in dist.

clipboard.png

search applySSRData. I haven't studied the specific life cycle either

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2bf8e-2bae3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2bf8e-2bae3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?