使用 Node.js server 的服务器端单页面应用程序渲染
vue-ssr - 图1
src
├── components
│ ├── Foo.vue
│ ├── Bar.vue
│ └── Baz.vue
├── App.vue
├── app.js # 通用 entry(universal entry)
├── entry-client.js # 仅运行于浏览器
└── entry-server.js # 仅运行于服务器

打包目录文件
image.png
现在,需要通过 SSR 服务端渲染,运行该项目

客户端激活

所谓客户端激活,指的是 Vue 在浏览器端接管由服务端发送的静态 HTML,使其变为由 Vue 管理的动态 DOM 的过程。