Laravel Mix Download
This extension provides Download support to your Mix (v2.1 and up) builds. This allows you to download external files.
First, install the extension.
npm install laravel-mix-dl --save-dev
Then, require it within your
webpack.mix.js file, like so:
let mix = ;;mix;
And you're done! Compile everything down with
npm run dev.