mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix server.ts
This commit is contained in:
parent
36db8c7759
commit
60ce35f3b2
@ -347,12 +347,12 @@ export default class Server {
|
|||||||
return this.app.stack.map(({ handle }) => handle._middleware && handle._middleware.entry).filter(Boolean)
|
return this.app.stack.map(({ handle }) => handle._middleware && handle._middleware.entry).filter(Boolean)
|
||||||
}
|
}
|
||||||
|
|
||||||
renderRoute (...args: Parameters<VueRenderer['renderRoute']>) {
|
renderRoute () {
|
||||||
return this.renderer.renderRoute.apply(this.renderer, ...args.slice())
|
return this.renderer.renderRoute.apply(this.renderer, arguments)
|
||||||
}
|
}
|
||||||
|
|
||||||
loadResources (...args: Parameters<VueRenderer['loadResources']>) {
|
loadResources () {
|
||||||
return this.renderer.loadResources.apply(this.renderer, ...args)
|
return this.renderer.loadResources.apply(this.renderer, arguments)
|
||||||
}
|
}
|
||||||
|
|
||||||
renderAndGetWindow (url, opts = {}, {
|
renderAndGetWindow (url, opts = {}, {
|
||||||
|
Loading…
Reference in New Issue
Block a user