mirror of
https://github.com/S2-/ejs-render-remote
synced 2025-08-03 13:00:04 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
b8c9b8d180 | |||
12db14bdb8 | |||
1284a11acb |
@@ -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:
|
||||
|
@@ -1,11 +1,13 @@
|
||||
{
|
||||
"name": "ejs-render-remote",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"homepage": "https://github.com/S2-/ejs-render-remote",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
"author": "s2 <s2@31337.it>",
|
||||
"license": "ISC",
|
||||
"keywords": ["ejs", "templating", "client-side"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user