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

Support require function #52

Open
KSXGitHub opened this issue Mar 5, 2017 · 1 comment
Open

Support require function #52

KSXGitHub opened this issue Mar 5, 2017 · 1 comment

Comments

@KSXGitHub
Copy link

I want to be able to use any Node.js module in a pug file

It would be really cool if I can compile this without having to pug.compile myself

- const foo = require('foo')
p foo("bar") = #{foo("bar")}
@sgkul2000
Copy link

i agree

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