pqina / vue-filepond

🔌 A handy FilePond adapter component for Vue
https://pqina.nl/filepond
MIT License
1.92k stars 128 forks source link

Help me help you translate the documentation into Vuejs. #191

Open ghost opened 3 years ago

ghost commented 3 years ago

Hello and thank you for the great library. Every time I try applying something on the documentation I am having issues with the suggested formula on it because it's in pure JS. Most of the times I have little to no clue whatsoever about where to put what. The examples are enigmas to solve every time I look at the documentation. (Am I missing hidden Vue doc?) So to put an end to it, we can together translate it to Vuejs and make it a Vue beginner friendly library. If you find it pleasing we can start with on which props we use @ or : and what functions are considered computed. We can also continue with your proposed way of adapting the functions into the Vue ecosystem. Thank you.

rikschennink commented 3 years ago

@pazarbasifatih I very much appreciate the offer. There's currently no hidden Vue doc. It would be easiest to generate the docs from a core truth but that's not really easy to implement in the current system. Maybe we can add some sort of clarification to the Vue section?

ghost commented 3 years ago

I try the properties camelCase, then kebab-case and try v-on and v-bind on them :D. If only there were an addendum that clarifies this once and for all, that'd accelerate things a lot.

rikschennink commented 3 years ago

For simple static values you can use a string, for complex values in data() or values that might change you use v-bind.

Internally FilePond converts string input to the right format.