hops-config
v15.2.1
Published
Hops core configuration
Downloads
1,419
Readme
Hops Config
Please see the main Hops Readme for general information and a Getting Started Guide.
Please use withConfig
or useConfig
to access the configuration inside your application's 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);