@srejs/vue
TypeScript icon, indicating that this package has built-in type declarations

1.4.2 • Public • Published

@srejs/vue


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.

download License Node

Server rendering engine 缩写为 Srejs, 即服务器端渲染引擎,为各个node开发框架提供最简单,最灵活,Vue轻量级服务端渲染骨架工具。 Srejs支持在koa中间件中使用,通过此能力我们可以对任何基于Koa的开发框架进行插件封装,比如UMajs,egg,nest,推荐使用@umajs/plugin-vue-ssr提供的解决方案。

Features

  • 🚀 支持SSR和CSR模式切换
  • 🚀 支持vuex做数据管理
  • 🚀 支持服务端直出Props
  • 🚀 和vue-router使用,支持asyncData钩子函数获取数据。
  • 🚀 自定义HTML和动态设置页面title,keyworlds,discription
  • 🚀 vue3.0【请使用@srejs/vue3】
  • 支持vue-meta
  • webpack5.0
  • vite

文档

示例

开发框架集成

Package Sidebar

Install

npm i @srejs/vue

Weekly Downloads

8

Version

1.4.2

License

MIT

Unpacked Size

66.6 kB

Total Files

10

Last publish

Collaborators

  • justspring
  • bubblem
  • dazjean