Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Express no longer automagically detects vash #60

Closed
meandmycode opened this issue Mar 23, 2015 · 2 comments
Closed

Express no longer automagically detects vash #60

meandmycode opened this issue Mar 23, 2015 · 2 comments

Comments

@meandmycode
Copy link

In previous versions of vash registration with express was as simple as:

var app = express();
app.set('view engine', 'vash');

In 0.8 this no longer seems to work but can be mitigated with the following code:

vash.__express = vash.renderFile;
var app = express();
app.set('view engine', 'vash');

It seems like in 0.8, the __express export no longer exists.

Thanks,

kirbysayshi added a commit that referenced this issue Mar 24, 2015
@kirbysayshi
Copy link
Owner

Thanks for reporting! It will be fixed in the next patch release.

@kirbysayshi
Copy link
Owner

This has been released as v0.8.1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants