We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
imports
When i setting view options imports key, like so:
app.set('view options', { debug: process.env.NODE_ENV !== 'production', imports: { $manifest: filename => manifest[filename] || filename }) });
throw a error $escape not a function
$escape not a function
You must extend defaults options can fix it.
app.set('view options', { debug: process.env.NODE_ENV !== 'production', imports: extend({}, artTemplate.defaults.imports, { $manifest: filename => manifest[filename] || filename }) });
The text was updated successfully, but these errors were encountered:
fix bug: goofychris/express-art-template#1
65b29a7
6d1b329
还是老问题,但这次如果进行extend也报错了
Sorry, something went wrong.
重构的时候产生了新的 BUG,v4.9.1 已经修复
No branches or pull requests
When i setting view options
imports
key, like so:throw a error
$escape not a function
You must extend defaults options can fix it.
The text was updated successfully, but these errors were encountered: