- Build browserify with
npm run build
. - Note that we:
- Use
jquery-browserify
- Must set
Backbone.$ = require('jquery-browserify');
so backbone uses jquery
- Use
The above two extra things are mostly due to the fact that backbone expects to find $ on window.