ractive-require
Require Ractive views on demand in Package by Feature way
Last updated 4 years ago by xavierboubert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ractive-require 
SYNC missed versions from official npm registry.

Ractive-Require

Join the chat at https://gitter.im/CodeCorico/ractive-require

Require Ractive views on demand in Package by Feature way.

Ractive-Require is an extension to Ractive.js that provides the support to require features on demand. A feature is composed by a HTML template file, and its JavaScript and CSS assets. They are not loaded on the page as long as the user does't need to use it.

Installation

Use the CDN version:

<script src="https://cdnjs.cloudflare.com/ajax/libs/ractive-require/0.6.12/ractive-require.min.js"></script>

Or copy the dist folder into your project and include ractive-require.js or ractive-require.min.js (production) file in your HTML page after Ractive.

Documentation

Go to ractive-require.codecorico.com

Contribute

To contribute to the project, read the Contribution guidelines. After that, you can create your own Pull Requests (PR) and submit them here.

Build the distribution files

If you want to hack on Ractive-Require, the first step is to clone the repo and install all its development dependencies:

git clone https://github.com/CodeCorico/ractive-require   # or your fork
ractive-require
npm install

You have to install gulp

npm install gulp -g

Then you can build the distribution files with:

gulp build

Lead contribution team

Current Tags

  • 0.6.12                                ...           latest (4 years ago)

26 Versions

  • 0.6.12                                ...           4 years ago
  • 0.6.11                                ...           4 years ago
  • 0.6.10                                ...           4 years ago
  • 0.6.9                                ...           4 years ago
  • 0.6.8                                ...           4 years ago
  • 0.6.7                                ...           4 years ago
  • 0.6.6                                ...           4 years ago
  • 0.6.5                                ...           4 years ago
  • 0.6.4                                ...           4 years ago
  • 0.6.3                                ...           4 years ago
  • 0.6.2                                ...           4 years ago
  • 0.6.1                                ...           4 years ago
  • 0.6.0                                ...           4 years ago
  • 0.5.4                                ...           5 years ago
  • 0.5.3                                ...           5 years ago
  • 0.5.2                                ...           5 years ago
  • 0.5.1                                ...           5 years ago
  • 0.5.0                                ...           5 years ago
  • 0.4.0                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.4                                ...           5 years ago
  • 0.2.2                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |