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

3 Commits

Author SHA1 Message Date
s2
b8c9b8d180 v1.0.1 2019-04-14 18:18:58 +02:00
s2
12db14bdb8 add some stuff to package.json 2019-04-14 18:18:27 +02:00
s2
1284a11acb add install instructions 2019-04-14 18:12:08 +02:00
2 changed files with 7 additions and 4 deletions

View File

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

View File

@@ -1,11 +1,13 @@
{ {
"name": "ejs-render-remote", "name": "ejs-render-remote",
"version": "1.0.0", "version": "1.0.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"homepage": "https://github.com/S2-/ejs-render-remote",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "", "author": "s2 <s2@31337.it>",
"license": "ISC" "license": "ISC",
"keywords": ["ejs", "templating", "client-side"]
} }