Vue: Not able to use lodash or jquery inside interpolations in .vue files

Created on 6 Mar 2017  ·  2Comments  ·  Source: vuejs/vue

Most helpful comment

Please ask questions on the forum or StackOverflow.


Do Vue.prototype._ = _ to use lodash as _ in templates. But I recommend you to define your own filters/methods that use lodash methods instead

All 2 comments

Thanks for filing the issue. Please follow the Issue Reporting Guidelines and provide a minimal JSFiddle or JSBin containing a set of reproducible steps that can lead to the behavior you described.

Why is this required?

Please ask questions on the forum or StackOverflow.


Do Vue.prototype._ = _ to use lodash as _ in templates. But I recommend you to define your own filters/methods that use lodash methods instead

Was this page helpful?
0 / 5 - 0 ratings

Related issues

guan6 picture guan6  ·  3Comments

wufeng87 picture wufeng87  ·  3Comments

6pm picture 6pm  ·  3Comments

hiendv picture hiendv  ·  3Comments

robertleeplummerjr picture robertleeplummerjr  ·  3Comments