vuejs on button click trigger file upload code example
Example: style upload button vue
<input type="file" ref="file" style="display: none">
<button @click="$refs.file.click()">open file dialog</button>
<input type="file" ref="file" style="display: none">
<button @click="$refs.file.click()">open file dialog</button>