diff --git a/src/router.imba b/src/router.imba index e69de29..c2656da 100644 --- a/src/router.imba +++ b/src/router.imba @@ -0,0 +1,14 @@ +import "pro-router/standalone" +import "./lib/router_tag.imba" +import { compact, fromPairs, chunk, includes, reject, toPairs, flatten } from 'lodash' + +let helpers = + compact: compact + fromPairs: fromPairs + chunk: chunk + includes: includes + reject: reject + toPairs: toPairs + flatten: flatten + +R.init(helpers: helpers, views: ['day-select', 'choose-slot', 'booking-confirmation'], root: 'day-select', render: imba.commit) \ No newline at end of file