Flow
A flow is a way to organize your application in independent and shareable units of work that are building blocks for a single-page application.
The structure of a flow is the same as the structure of an application. A flow has a descriptor (<name>-flow.json
) and a functions module file (<name>-flow.js
), and contains pages and possibly other flows. The id of a flow is the name of the folder that contain the flow structure.
The following example shows an application that contains two flows: main
and other
.
app-flow.[json|js]
pages/
app-page.[json|js|html]
flows/
main/
main-flow.[json|js]
pages/
start-page.[json|js|html]
flows/
...
other/
other-flow.[json|js]
pages/
start-page.[json|js|html]