@jackhuynh1995/vue-cli-plugin-envhot
v1.0.3
Published
hot reloading your .env files, never worry about restarting yor wde
Downloads
114
Maintainers
Readme
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
- Reference Here for usage of .env file.
- Modify .env files in runtime and have it dynamically injected into your application
- Support modification, addtion, deletion of field in .env files
- Only works in development mode. In production mode you won't need hot reload anyway.
- 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