Package Exports
- ractive
- ractive/ractive.runtime
- ractive/ractive.runtime.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ractive) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Getting Ractive.js
The easiest way to download the latest released version of Ractive is to grab it from http://cdn.ractivejs.org/latest/{filename}.js, where {filename} is one of
- ractive.js
- ractive.min.js - minified version
- ractive-legacy.js - IE8 compatible
- ractive-legacy.min.js
- ractive.runtime.js - excludes
Ractive.parse()
- assumes templates are parsed on the server or during build - ractive.runtime.min.js
- ractive-legacy.runtime.js
- ractive-legacy.runtime.min.js
If you'd like to get the most recent version, substitute 'edge' for 'latest' in the URL, e.g. http://cdn.ractivejs.org/edge/ractive.js. These builds have passed the tests but may include experimental features, so should not be used in production.
For specific stable releases, replace 'latest' with e.g. '0.5.0'.
Installing with bower
If you use bower for frontend package management, you can do
$ bower install ractive
To download the edge version, use the edge
tag:
$ bower install ractive#edge
(If you want to redownload it, you may need to clean bower's cache with bower cache clean ractive
.)
Installing with npm
$ npm install ractive
Starting with 0.4.0, releases live on the build branch. It's therefore possible to npm install
the most recent builds straight from GitHub:
$ npm install git://github.com/ractivejs/ractive.git#v0.4.1-pre
(The v0.4.1-pre
tag - which will change after each stable release - is equivalent to the edge
tag, but npm requires valid semver tags.)