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

Menu