vise-ssr npm

Isomorphic SSR framework based on Vite

Background

Vise (pronounced [vaɪs]) is an isomorphic Web SSR framework based on Vite, dedicated to provide an out of the box SSR develop experience as easy as SPA. It can work with multiple web user interface libraries such as React, Vue. By abstract app specific logic into server hooks, multiple apps could be deployed onto the same server and multiple hooks could be combined as special purpose hooks plugins.

  • Commandline: create, dev, build, serve commands to cover the whole dev cycle of web apps.
  • Server Hooks: There are 9 tapable-hooks in which app specific server logic could be defined in, so multiple apps could be deployed on the same server.
  • React & Vue3: Currently web user interface libraries such as React, Vue3 are supported. And more are coming.
  • HTTP Server: By default Express is used as the HTTP server for SSR, more servers such as Koa.js, Nest.js will be supported in the near future.
  • Full esm & typescript support

Design

Vise SSR framework 整体设计 Vise Hooks Data Flow Render Process SSR Cache