Comments (3)
I apologize for not getting this done. I will work on getting something put together as soon as I can. The main thing, is with Express 2 (current live version) you cannot use Expresses render function due to how it works. You basically have to call mu yourself.
I believe Express 3's new template engine will allow the two to work nicely together.
from mu.
I agree, I don't know how to use this library on express as well.
EDIT: I figured I can just use express --ejs
from mu.
Check out my other project http://github.com/raycmorgan/hogan-engine which utilizes Twitter's Hogan (Mustache engine) and hooks it up for use in express 3. Pretty much a drop in for Mu when you don't need the streaming output (which most people don't need).
from mu.
Related Issues (20)
- How to output error code instead of missing partial? HOT 1
- Deprecated method: util.pump in new version of node
- Rendered data doesn't write correctly to HTTP stream. HOT 1
- Integration with express HOT 4
- Get Templates HOT 1
- Partials with relative path not implemented HOT 1
- "Error" event not being sent;
- Default file extension
- Memory leak due to infinite loop in recursive partials. HOT 1
- Silent failure when a template file does not exist
- feature request: custom delimiter HOT 1
- integrate with express? HOT 1
- partials with mu-cli.js HOT 4
- .write( string, encoding, offset, length is deprecated notice HOT 5
- No lambda support
- Write output to file HOT 1
- feature request: expose render context
- Is this repo dead? HOT 1
- External local stylesheets not loading
- Breaks on node 12, TypeError: util.puts is not a function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mu.