mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 17:37:14 +00:00
[module] support plugins injectAs
This commit is contained in:
parent
c7f31b6492
commit
11cb84d239
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user