Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.08 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.08 KB

Jovo Framework

Sample Voice App for the Jovo Framework ⭐️

Documentation - CLI - Templates -Contributing - Twitter


Jovo Sample: Separate Handlers

app.setHandler(
    require('./handlers/stateless'),

    // Option 1: Require full object
    require('./handlers/firstState'),

    // Option 2: Require inside state object
    {
        'SecondState': require('./handlers/secondState'),
    }
);

This repository is an example project to show how handlers in a Jovo project can be split into separate files.