chore: update @vue/server-renderer to 0.2.1

This commit is contained in:
pooya parsa 2020-10-29 21:06:30 +01:00
parent 8718bf32e3
commit 0b18f77746

View File

@ -22,7 +22,7 @@ export default class SSRRenderer extends BaseRenderer {
const hasModules = fs.existsSync(path.resolve(this.options.rootDir, 'node_modules'))
return {
vueServerRenderer: require('@vue/server-renderer'),
renderToString: require('@vue/server-renderer').renderToString,
bundleRunner: require('bundle-runner'),
clientManifest: this.serverContext.resources.clientManifest,
// for globally installed nuxt command, search dependencies in global dir