This commit is contained in:
Román Jiménez 2018-05-10 16:15:04 +02:00 committed by GitHub
parent 5cc2b785d1
commit a6fc752871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ Lodash template loader for [webpack](http://webpack.github.io/). Uses `_.templat
``` javascript ``` javascript
var template = require("tpl!./file.html"); var template = require("tpl!./file.html");
// => returns the template function compiled with undesrcore (lodash) templating engine. // => returns the template function compiled with underscore (lodash) templating engine.
// And then use it somewhere in your code // And then use it somewhere in your code
template(data) // Pass object with data template(data) // Pass object with data