You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dmitriy Kubyshkin
55196028f5
|
10 years ago | |
---|---|---|
.npmignore | 10 years ago | |
LICENSE | 10 years ago | |
README.md | 10 years ago | |
index.js | 10 years ago | |
package.json | 10 years ago |
README.md
ejs-loader for webpack
EJS (Underscore/LoDash Templates) loader for webpack. Uses lodash template function to compile templates.
Installation
npm install ejs-loader
Usage
var template = require("ejs!./file.ejs");
// => returns the template function compiled with undesrcore (lodash) templating engine.
// And then use it somewhere in your code
template(data) // Pass object with data