vue-cli-plugin-expose-env

    0.0.1 • Public • Published

    vue-cli-plugin-expose-env

    vue cli 3 plgin to expose none VUEAPP env to frontend

    Build Status Coverage Status 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

    Install

    npm i vue-cli-plugin-expose-env

    DownloadsWeekly Downloads

    191

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    4.96 kB

    Total Files

    9

    Last publish

    Collaborators

    • magicdawn