fix(core): add resolveAlias and resolvePath for b.w compatibility

This commit is contained in:
Pooya Parsa 2018-10-18 20:05:44 +03:30
parent f27939d4a7
commit cc8c6e2555

View File

@ -35,6 +35,8 @@ export default class Nuxt {
this.renderAndGetWindow = this.renderer.renderAndGetWindow.bind(
this.renderer
)
this.resolveAlias = this.resolver.resolveAlias.bind(this)
this.resolvePath = this.resolver.resolvePath.bind(this)
this._ready = this.ready().catch((err) => {
consola.fatal(err)