This project shows you how to get started with Dropzone and vite. It also contains a method for setting extra response headers:
Cross-Origin-Embedder-Policy: require-corpCross-Origin-Opener-Policy: same-origin
Inside this project run:
$ yarn install
# or if you prefer npm:
$ npm installNow start the test server with vite:
$ yarn run dev
# or if you prefer npm:
$ npm run devand go to http://localhost:5173