Mash

Results 13 comments of Mash

I had the same issue. I just ran: `php artisan config:cache` `php artisan vendor:publish` worked for me

I'd love to see content around extending the theme to match certain scenarios or even how you implement features like dark mode and the rest

> if(!utils.isFormData(config.data)){ config.data = transformData.call( config, config.data, config.headers, config.transformRequest ); } How do I use this without touching the core axios stuff?

Aparently, [this solution](https://github.com/axios/axios/issues/4406#issuecomment-1113367903) ```js axios.post(url, formData, { headers: { 'Content-Type': 'multipart/form-data' }, transformRequest: formData => formData, }) ``` Specifically this line: `transformRequest: formData => formData,` worked for me. It makes...

Actually, it's sending `[object object]`... I don't think that is a file

So I managed to get this working. I had to create a totally new instance like so: ```js axios.post( '/endpoint/here', formData, /*this has to be the exact formData object. DO...