Skip to content

marcorivm/quasar-app-extension-system-environment-variables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System Environment Variables (quasar-app-extension-system-environment-variables)

npm version

====

Load environment variables from the system and makes them available through process.env. Works best for building on CI/CD environments

In some scenarios like when working in a CI environment where we might want to load environment variables from the system variables instead of an .env file. This plugin will handle loading system variables as long as they are present in the .env.example file.

For Quasar v1.x look at the 1.x branch

Install

quasar ext add system-environment-variables

Quasar CLI will retrieve it from NPM and install the extension.

Uninstall

quasar ext remove system-environment-variables

Info

You need to setup a .env.example file which can work as a dictionary so the plugin knows which variables to look for and load from the system environment, plus it works as a guide for other users letting them know which variables are available.

Donate

If you appreciate the work that went into this App Extension, please consider donating to Quasar or buy me a beer.