1.0.0 • Published 4 years ago

vue-cli-plugin-envhot v1.0.0

Weekly downloads
69
License
MIT
Repository
github
Last release
4 years ago

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