Skip to content

Instantly share code, notes, and snippets.

@daffl
Created October 4, 2013 21:45
Show Gist options
  • Select an option

  • Save daffl/6833303 to your computer and use it in GitHub Desktop.

Select an option

Save daffl/6833303 to your computer and use it in GitHub Desktop.
Get started with CanJS, Bower and RequireJS

CanJS is one of the few client side MVC frameworks that can be used entirely modular. This means that if you only need can.Model you will only get the code necessary for can.Model. You can either use the download builder and select the components you want, clone the repository directly and use StealJS or use the AMD version from the full download or the Bower component.

Install CanJS

bower install canjs

Configure RequireJS

Adding your own components

Making a build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment