mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
chore: update @vue/server-renderer
to 0.2.1
This commit is contained in:
parent
8718bf32e3
commit
0b18f77746
@ -22,7 +22,7 @@ export default class SSRRenderer extends BaseRenderer {
|
|||||||
const hasModules = fs.existsSync(path.resolve(this.options.rootDir, 'node_modules'))
|
const hasModules = fs.existsSync(path.resolve(this.options.rootDir, 'node_modules'))
|
||||||
|
|
||||||
return {
|
return {
|
||||||
vueServerRenderer: require('@vue/server-renderer'),
|
renderToString: require('@vue/server-renderer').renderToString,
|
||||||
bundleRunner: require('bundle-runner'),
|
bundleRunner: require('bundle-runner'),
|
||||||
clientManifest: this.serverContext.resources.clientManifest,
|
clientManifest: this.serverContext.resources.clientManifest,
|
||||||
// for globally installed nuxt command, search dependencies in global dir
|
// for globally installed nuxt command, search dependencies in global dir
|
||||||
|
Loading…
Reference in New Issue
Block a user