-1

Why not converted text/ractive to HTML.

This is result in browser:

enter image description here

This is code in page which include template:

enter image description here

This is the template:

enter image description here

This is error in console:

enter image description here

This if instance using the template:

enter image description here

ArchiSova
  • 181
  • 7

1 Answers1

1

It's a template. You need to load Ractive in the browser and create a new instance using the template:

var ractive = new Ractive({
  el: '#your-target-element',
  template: '#step-1',
  data: yourData
});
Rich Harris
  • 28,091
  • 3
  • 84
  • 99