How does RequireJS work with multiple pages and partial views?
Update – I’ve added an example of using RequireJS with modular HTML components. Build tool example included – https://github.com/simonsmith/modular-html-requirejs I have also written a blog article about this – http://simonsmith.io/modular-html-components-with-requirejs/ The approach of just using main.js for everything is probably more suited to a single page application. The way I’ve handled this situation is to … Read more