How would you structure this for an SPA with multiple top-level 'pages'? I am thinking:
- common (the usual bootstrapping crud) - page1/[handlers,subs,views etc.] - page2/[handlers,subs,views etc.] ... The central db would be in common/state.clj which each page, during 'bootstrap' would update with a default state and schema. Thoughts? On 26 March 2015 at 01:52, Mike Thompson <[email protected]> wrote: > On Thursday, March 26, 2015 at 1:07:56 AM UTC+11, Colin Yates wrote: >> Hi all, >> >> What is the recommended approach? Cloning the example project, the >> re-frame-template (which is still using re-frame 0.1.8) or sticking it >> together by hand? >> >> Thanks! > > > We do have the mandatory lein template in the wings. Will be released very > shortly, I hope. > > In the meantime, look at the structure of the todomvc example. > https://github.com/Day8/re-frame/tree/master/examples/todomvc > > > -- > Mike > > -- > Note that posts from new members are moderated - please be patient with your > first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
