From cc8c6e25557b5962bd20983250b7b16d0efe466d Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 18 Oct 2018 20:05:44 +0330 Subject: [PATCH] fix(core): add resolveAlias and resolvePath for b.w compatibility --- packages/core/src/nuxt.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core/src/nuxt.js b/packages/core/src/nuxt.js index b2239ed7f9..cdc9876833 100644 --- a/packages/core/src/nuxt.js +++ b/packages/core/src/nuxt.js @@ -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)