Home

Issue: 2812

Provide/Inject example

[issue link]

is this the right way to inject the env vars or is it automatically injected?

export default ({ app }) => {
  app.provide = () => ({
    MEDIA_SERVER: process.env.MEDIA_SERVER
  });
};
This question is available on Nuxt.js community (#c2440)