Nuxt 是 Vue 的 meta-framework(React 的 Next.js 等价物)。它在 Vue 之上添加了 server-side rendering (SSR)、file-based routing 和 full-stack 功能——将 Vue 从客户端库转变为完整的应用框架。
SSR 解决的核心问题
text
Plain Vue SPA: server sends an empty <div id="app"></div> + JS bundle
→ browser downloads JS, runs Vue, THEN renders content
→ slow first paint, and crawlers may see a blank page (bad SEO)
Nuxt SSR: server renders the full HTML and sends it ready-to-view
→ fast first paint, content visible immediately, great SEO
→ Vue then "hydrates" it to make it interactive
