szalishchuk / generator-spa

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

spa:view :: automatically add new dependency to the module's composer #12

Open szalishchuk opened 10 years ago

szalishchuk commented 10 years ago

Now you have to create a reference to a new View from ModuleComposer yourself, by adding a path to the view within the require.js define(['new/path'], function(newView)) module, and additional collection to the submodules array.

It would be better to get rid off that extra step and update the file by ourselves.