Browse Source

fix option passing

dev
Evan You 8 years ago
parent
commit
2fe42ef0c5
  1. 1
      package.json
  2. 4
      src/entries/web-server-renderer.js

1
package.json

@ -103,6 +103,7 @@
"rollup-plugin-replace": "^1.1.0",
"rollup-watch": "^3.2.2",
"selenium-server": "^2.53.1",
"serialize-javascript": "^1.3.0",
"typescript": "^2.1.6",
"uglify-js": "^2.6.2",
"vue-ssr-html-stream": "^2.1.0",

4
src/entries/web-server-renderer.js

@ -22,7 +22,9 @@ export function createRenderer (options?: Object = {}): {
// component cache (optional)
cache: options.cache,
// page template (optional)
template: options.template
template: options.template,
// server/client build manifests (optional)
manifest: options.manifest
})
}

Loading…
Cancel
Save