Created
February 1, 2013 21:33
-
-
Save Enome/4694302 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Installation | |
| Install it using npm: | |
| npm install ab-trolley --save | |
| Pass you base Express.js application to trolley. | |
| var trolley = require('ab-trolley'); | |
| trolley.use(app, '$', '/yourbackend') | |
| Include the following locals in your template. Make sure you don't escape the values. | |
| !{trolley.head} | |
| !{trolley.cart} | |
| !{trolley.button(200.00)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment