Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

vue-cli-plugin-expose-env

vue cli 3 plugin to expose none VUE_APP_ env to frontend

npm version npm downloads npm license

Install

$ npm i vue-cli-plugin-expose-env --save

options

vue.config.js

module.exports = {
  pluginOptions: {
    exposeEnv: ['SOME_ENV'],
  },
}

then it's ok to use process.env.SOME_ENV in frontend code

Changelog

CHANGELOG.md

License

the MIT License http://magicdawn.mit-license.org

About

vue cli 3 plugin to expose none `VUE_APP_` env to frontend

Resources

License

Packages

No packages published