From 11cb84d2395f1c8d42f3600d01a542cf9e40fe05 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 15 May 2017 01:09:27 +0430 Subject: [PATCH] [module] support plugins injectAs --- lib/module.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/module.js b/lib/module.js index 4aa812b128..7d37c6fe55 100755 --- a/lib/module.js +++ b/lib/module.js @@ -55,7 +55,8 @@ class Module { // Add to nuxt plugins this.options.plugins.push({ src: '~/.nuxt/' + dst, - ssr: Boolean(template.ssr) + ssr: Boolean(template.ssr), + injectAs: template.injectAs }) }