Created
February 9, 2017 07:38
-
-
Save vadirn/0eae2e79513d3a15ce647c9563adbf6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
exampleController: (cb) => { | |
require.ensure([], (require) => { | |
cb(require('./ExampleController').default); | |
}); | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment