1
0
mirror of https://github.com/S2-/ejs-render-remote synced 2025-08-02 12:40:04 +02:00

add install instructions

This commit is contained in:
s2
2019-04-14 18:12:08 +02:00
parent fa31457779
commit 1284a11acb

View File

@@ -4,9 +4,10 @@
## Quick start
0. Install with `npm i ejs-render-remote`
1. Include this script
```html
<script src="node_modulse/ejs-render-remote/ejs-render-remote.js"></script>
<script src="node_modules/ejs-render-remote/ejs-render-remote.js"></script>
```
2. Creare a file with your template, for example `templates/hello-world.ejs` containing `hello <%= name %>!`
3. Render the remote template: