pqina / vue-filepond

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

Browser usage example in README doesn't work #200

Closed ValerianGonnot closed 3 years ago

ValerianGonnot commented 3 years ago

Describe the bug When executing the "Usage in the browser" part of the README in a standalone HTML file, I get a bunch of errors in the console, and no filepound is displayed.

Moreover, Vue 2 is downloaded from CDN with vue-filepond 7.0.0 which handles Vue 3.

Expected behavior README examples should directly work.

Information about your project:

Additional context Maybe I misunderstood some part of the installation or configuration as I am a beginner in web development.

rikschennink commented 3 years ago

Add @6 to the cdn url to get version 6 of the plugin which works with Vue 2

<script src="https://unpkg.com/vue-filepond@6"></script>
izshreyansh commented 3 years ago

Wow this worked.

https://codesandbox.io/s/filepond-o1c6z

This is in-fact written in README, But i missed it somehow. Thanks though :)

izshreyansh commented 3 years ago

@ValerianGonnot Let's close this issue?