Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 811 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 811 Bytes

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