mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix(core): add resolveAlias and resolvePath for b.w compatibility
This commit is contained in:
parent
f27939d4a7
commit
cc8c6e2555
@ -35,6 +35,8 @@ export default class Nuxt {
|
|||||||
this.renderAndGetWindow = this.renderer.renderAndGetWindow.bind(
|
this.renderAndGetWindow = this.renderer.renderAndGetWindow.bind(
|
||||||
this.renderer
|
this.renderer
|
||||||
)
|
)
|
||||||
|
this.resolveAlias = this.resolver.resolveAlias.bind(this)
|
||||||
|
this.resolvePath = this.resolver.resolvePath.bind(this)
|
||||||
|
|
||||||
this._ready = this.ready().catch((err) => {
|
this._ready = this.ready().catch((err) => {
|
||||||
consola.fatal(err)
|
consola.fatal(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user