I'm not sure when to use what.
with nuxt build
you get two directories(client
& server
) that means you are actually deploying node.js server(i.e. express, right?)
with nuxt generate
you get .html
It seems both ways you can have good SEO which nuxt aims at. And to me, nuxt generate
option seems more consize since it doesn't envolve server.
What am I missing here? Why should I use nuxt build
and get server code mixed up?