Hops Config

Please see the main Hops Readme for general information and a Getting Started Guide.
This is a package that exposes your applications configuration and is mostly here for legacy reasons.
In the future we will deprecate this package and provide a React context provider to access the configuration inside your applications React components.
Inside mixins you can access the config through this.config
.
Installation
Add this package as a dependency to your project:
npm install --save hops-config
If you don't already have an existing Hops project read this section on how to set up your first Hops project.
Usage
import
/ require
this package to access the configuration that you are interested in.
import config from 'hops-config';
console.log(config.basePath);