Hi There are several possibilites.
First and simplest: Get all your data in the one and only main model, work with one list of messages. Second: Structure your data over modules, e.g. one model and all internal messages per page/view Those are good examples to start with bigger projects: https://github.com/knewter/time-tracker/tree/master/elm/src https://github.com/jsdw/talklicker/tree/master/client/src happy coding. Am Dienstag, 20. Dezember 2016 16:34:32 UTC+1 schrieb Woodson Delhia: > > Hello guys > > > I am trying to get elm to work with elixir/phoenix. I understand the > regular structure of elm MUV, but i find my self having a hard time > understand how i would get elm to work with multiple pages, and also if I > have nav bar that would contains msg how would I include all these > functions together(e.g: dropdown and such)? All the tutorial that I have > done seem to cover only SPA. If have multiple models how would i connect > them all together to the main?(e.g a model that contain my nav function, > plus a model that holds my data and such. ) > > > Thanks. > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
