Skip to content

Seamlessly add .env hot reloading support for your vue-cli based projects.

License

Notifications You must be signed in to change notification settings

serializedowen/vue-cli-plugin-envhot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Seamlessly add .env hot reloading support for your vue-cli based projects.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published