methods: {
handleResize (event) {
// your code...
}
},
mounted () {
window.addEventListener('resize', this.handleResize);
},
destroyed () {
window.removeEventListener('resize', this.handleResize);
}
Storage::copy('old/file1.jpg', 'new/file1.jpg');