Using lodash in all of vue component template
up vote
31
down vote
favorite
11
Can I using lodash _ in all of my vue component? for example: I have components organized like below: App.vue > Parent.vue > Child.vue I would like to all of my component can access _ lodash without defined in every component vm data === I am also trying using Mixins. it works. but the result not expected like this _().isEmpty() instead of _.isEmpty()
javascript lodash vue.js vue-component
share | improve this question
edited Jun 8 '16 at 8:03
asked Jun 8 '16 at 5:51
...