[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]dist/2024-10-02 08:35 -  
[TXT]LICENSE.md2024-10-02 08:35 1.1K 
[TXT]README.md2024-10-02 08:35 1.8K 
[   ]package.json2024-10-02 08:35 1.3K 
[TXT]runtime.d.ts2024-10-02 08:35 31  
# Vue Bundle Renderer

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions][github-actions-src]][github-actions-href]
<!-- [![Codecov][codecov-src]][codecov-href] -->

SSR Bundle Renderer for [Vue 3](https://vuejs.org/).

## Install

```sh
yarn add vue-bundle-renderer

npm install vue-bundle-renderer

pnpm add vue-bundle-renderer
```

## Usage

### `createRenderer`

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

declare function createRenderer(createApp, renderOptions: RenderOptions)
```

### `normalizeViteManifest`

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

declare function normalizeViteManifest(manifest: ViteManifest)
```

### `normalizeWebpackManifest`

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

declare function normalizeWebpackManifest(manifest: ViteManifest)
```

## Credits

Based on [vue-server-renderer](https://www.npmjs.com/package/vue-server-renderer) made by [Evan You](https://github.com/yyx990803).

## License

MIT

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/vue-bundle-renderer?style=flat-square
[npm-version-href]: https://npmjs.com/package/vue-bundle-renderer

[npm-downloads-src]: https://img.shields.io/npm/dm/vue-bundle-renderer?style=flat-square
[npm-downloads-href]: https://npmjs.com/package/vue-bundle-renderer

[github-actions-src]: https://img.shields.io/github/workflow/status/nuxt-contrib/vue-bundle-renderer/test/master?style=flat-square
[github-actions-href]: https://github.com/nuxt-contrib/vue-bundle-renderer/actions?query=workflow%3Atest

[codecov-src]: https://img.shields.io/codecov/c/gh/nuxt-contrib/vue-bundle-renderer/master?style=flat-square
[codecov-href]: https://codecov.io/gh/nuxt-contrib/vue-bundle-renderer