@visallo/requirejs-ejs-plugin

0.3.1 • Public • Published

RequireJS EJS Plug-in

Use EJS templates with RequireJS.

Versions

rejs : 0.3

Dependencies (tested with, may work with newer versions):

ejs : 0.8.3 (github)
requirejs : 2.1.5 (github)
text : 2.0.5 (github)

For Demo:

bower : 0.8.5 (github)

Demos

In order to view the demos, you'll need to install bower and have bower install the required libs.

$ (sudo) npm install -g bower
$ bower install
$ npm install
$ npm start

Go to http://localhost:4567/demo/index.html in your browser.

TODO

  • (high priority) Add support for nested includes.
  • Add support for mixing in custom ejs filters.

Tests

Coming soon.

Inspiration

Inspired by and borrowed code from requirejs-hogan-plugin (github).

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @visallo/requirejs-ejs-plugin

    Weekly Downloads

    1

    Version

    0.3.1

    License

    none

    Last publish

    Collaborators

    • stephencorwin
    • strianta
    • visallo-admin
    • joeferner
    • jharwig
    • jburke372
    • kunklejr
    • mwizeman