First of all, I would like to sorry if this post is not in the right site and for my (possible) lack of knowledge.
I am trying to develop a Multiple Page Application (MPA) and some doubts come to my mind:
Every page of the application is in its own Elm module and has its own HTML page, allowing me to organize and modularize the app. I would like to know if this approach is right or there is another better. This is an example of the folder structure:
/Page1/ Page1.elm State.elm Types.elm ... /Page2/ Page2.elm State.elm Types.elm ...
My second doubt is if I can use Browser.Navigation with this approach in order to avoid blank pages or load redundant data. For this, I have thought to make a main module who control which page to show, but I do not know if Browser.Navigation can be used having different modules with different HTML pages. I think so, but I have not found any documentation about MPA and I am not sure.
Maybe my doubts came for my lack of knowledge in some aspects of Elm, in that case, I would thank you any documentation to read.
Thanks in advance.