Closed noahmatisoff closed 8 years ago
Needed v-*, my bad.
hm i tried the same here, but it keep saying Failed to resolve directive: test2
and i have the v-test2
@FWSimon post code I'll let you know if I see anything that may be causing it.
Thanks @matisoffn i found out that it was because i needed to include the directive into my component :+1: Thanks
thanks, it save me 1 hour
I have a simple custom directive that I haven't added any functionality to: it's sitting in
app/directives/currency.js
:And then in my Vue component, I have something like this:
But when I attach
currency
to a text input, nothing is being logged to the console. What is wrong with this?