Questions tagged [ractive-load]

A component loader for RactiveJS.

The ractive-load plugin allows you to load component files, which are a way of encapsulating markup, styles, behaviours and default data into a single file. It's ideal for quick prototypes and smaller apps - if you need something more production-grade that integrates into your build process, try one of the alternative component loaders.

More info at https://github.com/ractivejs/ractive-load

3 questions
1
vote
1 answer

Access an instance of a component created by Ractive Load

Inside a component, I am happily using the syntax below to load additional components, if and when needed: My question is, how can I access…
Paulo Coghi
  • 13,724
  • 14
  • 68
  • 90
0
votes
1 answer

How do you load external javascript libraries in a ractive component?

I am trying to componentize some of my html pages to make them ractive components and load them using ractive-load. I don't use any build system or "tools" (i.e. grunt, browserify, require, etc) I am getting the error: You can only have one…
user3091850
  • 102
  • 1
  • 9
0
votes
1 answer

Bundle ractive with ractive-load through Rollup

What is the correct way to import ractive and ractive-load to my rollup project? npm or github? Currently I am using npm to install each one: npm install --save-dev ractivejs/ractive And npm install --save-dev ractivejs/ractive-load And I'm using…
Paulo Coghi
  • 13,724
  • 14
  • 68
  • 90