vue-bundle-renderer
Bundle Renderer for Vue 3.0
Last updated 3 months ago by pi0 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install vue-bundle-renderer 
SYNC missed versions from official npm registry.

Vue Bundle Renderer

npm version npm downloads Github Actions Dependencies

SSR Bundle Renderer for Vue 3 using bundle-runner.

Install

yarn add vue-bundle-renderer

npm install vue-bundle-renderer

Usage

createRenderer

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

declare function createRenderer(createApp:, renderOptions: RenderOptions)

createBundleRenderer

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

declare function createBundleRenderer(bundle, renderOptions: BundleRenderOptions)

type BundleRenderOptions = {
  runInNewContext?: boolean | 'once';
  basedir?: string;
  renderToString: typeof import('@vue/server-renderer').renderToString;
  clientManifest?: ClientManifest;
  publicPath?: string;
}

Credits

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

License

MIT

Current Tags

  • 0.2.2                                ...           latest (3 months ago)

8 Versions

  • 0.2.2                                ...           3 months ago
  • 0.2.1                                ...           3 months ago
  • 0.2.0                                ...           3 months ago
  • 0.1.0                                ...           3 months ago
  • 0.0.3                                ...           9 months ago
  • 0.0.2                                ...           9 months ago
  • 0.0.1                                ...           9 months ago
  • 0.0.0                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 15
Last Day 0
Last Week 9
Last Month 25
Dependencies (1)
Dev Dependencies (12)

Copyright 2014 - 2017 © taobao.org |