Server rendering engine, abbreviated as srejs, is the server-side rendering engine. It provides the simplest and most flexible react and Vue lightweight server-side rendering skeleton tool for each node development framework, and supports the use in any koa framework.
Server rendering engine 缩写为 Srejs, 即服务器端渲染引擎,为各个node开发框架提供最简单,最灵活,Vue轻量级服务端渲染骨架工具。
Srejs
支持在koa中间件
中使用,通过此能力我们可以对任何基于Koa的开发框架进行插件封装,比如UMajs
,egg
,nest
,推荐使用@umajs/plugin-vue-ssr
提供的解决方案。
- 🚀 支持SSR和CSR模式切换
- 🚀 支持vuex做数据管理
- 🚀 支持服务端直出Props
- 🚀 和vue-router使用,支持asyncData钩子函数获取数据。
- 🚀 自定义HTML和动态设置页面title,keyworlds,discription
- 🚀 vue3.0【请使用@srejs/vue3】
- 支持vue-meta
- webpack5.0
- vite