Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claymcleod/express-beautiful-ejs-engine
https://github.com/claymcleod/express-beautiful-ejs-engine
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/claymcleod/express-beautiful-ejs-engine
- Owner: claymcleod
- License: mit
- Created: 2015-04-16T03:30:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-17T20:40:39.000Z (almost 10 years ago)
- Last Synced: 2024-12-04T01:46:39.852Z (2 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Express Beautiful EJS Engine
=============================For those of us who like clean HTML output from express.
Installation
-------------```
npm install express-beautiful-ejs-engine --save
```Usage
-------------```
// Overwrite default EJS engine with this one
app.engine('ejs', require('express-beautiful-ejs-engine'));// Set default engine to our engine
app.set('view engine', 'ejs');
```