Search code examples
ractivejs

Can I just unzip and use Ractivejs? (build error)


Why need I build it? It's just JS

build error, help please.

[apple@simple ractive]$ npm install
npm WARN package.json [email protected] No repository field.
npm WARN prefer global [email protected] should be installed with -g
[apple@simple ractive]$


Solution

  • The easiest way to use Ractive is to download a ready-made build (e.g. http://cdn.ractivejs.org/latest/ractive.js or http://cdn.ractivejs.org/latest/ractive.min.js) or install it to your project with npm install ractive - you don't need to build it yourself.