I'm using Dart to build some functionality for an intranet site, and I'm wondering what the best way to organize a project with two "pages" in it is. Questions like this one, suggest that the (only) way to do it is by dynamically generating the contents of the page based on some user action.
I don't like this idea for a couple of reasons. First, the dynamic generation logic/file organization breaks up the HTML and makes it harder for the designers to work on. Second, it's not immediately obvious how I map the two "versions" of the page onto different URLs. And it all just seems needlessly complex.
Is there a way simply to have two "HTML" pages in a single Dart project, that are served as distinct URLs, but can share code, etc. My naive attempt to simply add a new HTML file and put the Dart script links into it did not work (the templates did not get rendered).