szalishchuk / generator-spa

Yeoman generator for fast Single Page Application prototyping with PhoneGap integration.
MIT License
4 stars 1 forks source link

subgenerator :: page composer #19

Closed szalishchuk closed 10 years ago

szalishchuk commented 10 years ago

Our pages are not just pages, they are also modules, but with more responsibilities. Each page has a dedicate route and it should handle all subsequent routes with it's own subrouter. This way we can scaffold complex urls and grant each layer with a distinct set of responsibilities.

Let's start of with simply creating a subgenerator for the page, that creates an index page for that particular route and subrouter.

szalishchuk commented 10 years ago

Done.