Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 1.8 KB

README.md

File metadata and controls

65 lines (41 loc) · 1.8 KB

Vue Bundle Renderer

npm version npm downloads Github Actions

SSR Bundle Renderer for Vue 3.

Install

yarn add vue-bundle-renderer

npm install vue-bundle-renderer

pnpm add vue-bundle-renderer

Usage

createRenderer

import { createRenderer } from 'vue-bundle-renderer/runtime'

declare function createRenderer(createApp, renderOptions: RenderOptions)

normalizeViteManifest

import { normalizeViteManifest } from 'vue-bundle-renderer'

declare function normalizeViteManifest(manifest: ViteManifest)

normalizeWebpackManifest

import { normalizeWebpackManifest } from 'vue-bundle-renderer'

declare function normalizeWebpackManifest(manifest: ViteManifest)

Credits

Based on vue-server-renderer made by Evan You.

License

MIT