Skip to content

Instantly share code, notes, and snippets.

@jayhjkwon
Created January 28, 2013 13:55
Show Gist options
  • Save jayhjkwon/4655660 to your computer and use it in GitHub Desktop.
Save jayhjkwon/4655660 to your computer and use it in GitHub Desktop.
require.js configuration to use bootstrap
require([
'bootstrap'
],
function (bootstrap) {
}
);
})
requirejs.config({
paths: {
'bootstrap' : './jam/bootstrap/docs/assets/js/bootstrap'
},
shim: {
'bootstrap' : ['jquery']
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment