/ractive-load-example

Demo of Ractive.js with the ractive-load plugin

Primary LanguageJavaScript

ractive-load-example

Quick and dirty demo of ractive-load being used to load ractive component files.

How to run it

Clone this repo...

git clone https://github.com/Rich-Harris/ractive-load-example.git
cd ractive-load-example

...and serve this folder. I like using http-server to quickly serve a folder:

npm install -g http-server
http-server

By default it will serve to localhost:8080.

(You can't just double-click on the index.html file, because you can't make AJAX requests to the filesystem.)