ui-router-server / vite
vite
Interfaces
- PrerenderBuild — What the plugin hands the prerender script's default export after
vite build. - PrerenderOptions — The object form of ServerRouterPluginOptions.prerender.
- ServerRouterPlugin — A structural subset of Vite's
Plugin— assignable intoplugins: [...]. - ServerRouterPluginOptions — Options for serverRouterPlugin: the Connect adapter's, plus the build step; the base comes from Vite's config.
- ViteBuildContext — The sliver of Vite's plugin context the build step reads.
- ViteMiddlewareServer — The sliver of Vite's dev/preview server the plugin uses: the Connect stack.
- ViteResolvedConfig — The sliver of Vite's resolved config the plugin reads.
- ViteUserConfig — The sliver of Vite's user config the plugin reads before it resolves.
Type Aliases
- PrerenderEntry — The prerender script's default export: calls a
prerender()— this package's fromui-router-server/prerender, orlit-ui-router-ssr's — with the build's values and returns its result.
Functions
- definePrerender — Types a prerender script's default export as a PrerenderEntry.
- serverRouterPlugin — Wraps a ServerRouter as a Vite plugin.