Run your code snippets in Bespoke.js
Download the production version or the development version, or use a package manager.
First, include both bespoke.js
and bespoke-run.js
in your page.
Then, simply include the plugin when instantiating your presentation.
bespoke.horizontal.from('article', {
run: true
});
You should also include jQuery or a jQuery-compatible library.
$ bower install bespoke-run
$ npm install bespoke-run
The bespoke-run npm package is designed for use with browserify, e.g.
require('bespoke');
require('bespoke-run');
This plugin was built with generator-bespokeplugin.