@jackhuynh1995/vue-cli-plugin-envhot

1.0.3 • Public • Published

vue-cli-plugin-envhot

Seamlessly add .env file hot reloading support for your vue-cli based projects. Never worry about rebooting webpack-dev-server again.

Features & Tips

  1. Reference Here for usage of .env file.
  2. Modify .env files in runtime and have it dynamically injected into your application
  3. Support modification, addtion, deletion of field in .env files
  4. Only works in development mode. In production mode you won't need hot reload anyway.
  5. Priority of file is [".env.development.local", ".env.development", ".env.local", ".env"], i.e., value with same key defined in '.env.local' will overwrite value defined in '.env'

Installation

yarn add vue-cli-plugin-envhot

OR

npm install -S vue-cli-plugin-envhot

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i @jackhuynh1995/vue-cli-plugin-envhot

    Weekly Downloads

    33

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    18.3 kB

    Total Files

    23

    Last publish

    Collaborators

    • jackhuynh95