vue how to get a button to open a file input 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>