From c1f83b74685c56c91f5e15f7174ff570e457d09c Mon Sep 17 00:00:00 2001 From: s2 Date: Sun, 14 Apr 2019 18:55:14 +0200 Subject: [PATCH] add an example --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f49027f..ab3c9ee 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ [ejs](https://ejs.co/) remote client side includes. +```js +html = ejs.rr('sayhello.ejs', {name: 'Simon'}); +``` + ## Quick start 0. Install with `npm i ejs-render-remote`