hops-config

    15.2.1 • Public • Published

    Hops Config

    npm

    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);

    Keywords

    Install

    npm i hops-config

    DownloadsWeekly Downloads

    254

    Version

    15.2.1

    License

    MIT

    Unpacked Size

    6.88 kB

    Total Files

    6

    Last publish

    Collaborators

    • robertkowalski
    • zaubernerd
    • jhiode
    • knisterpeter
    • hops-release
    • dmbch
    • aithir
    • robin-drexler