Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it really multi-page if all pages have to share the same config? #13

Open
robvon opened this issue Jun 15, 2015 · 0 comments
Open

Is it really multi-page if all pages have to share the same config? #13

robvon opened this issue Jun 15, 2015 · 0 comments

Comments

@robvon
Copy link

robvon commented Jun 15, 2015

I would like an example where an initial config is loaded, containing 'aspect-oriented' stuff and maybe some jQuery lovelyness. If there is a constant landing page it could include that too.

Then as a page is dynamically loaded, one can dynamically update the dependencies for modules on that page. As a page is loaded, a function that calls require.config would be expected (pseudo interface) to exist like the 'init' in shims.

This will also allow teams to develop 'pages' without having to modify the shared config when a new page is added or as in my case, a third party to develop all the views whilst I do the data api. We have nothing in common except jQuery which I preload then fake the define to keep it out of the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant