You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot read properties of undefined (reading 'headers') #5004
Reacted by Florian Imdahl, Noberto Pessoa, Dominik Winter, moobsy, Niek van der Maas, zucandu, Scott Mankowitz, Adam Bowen, Nagisa Yata, Peter Eck and 4 more
I have the same issue . Help me, please
Info: laravel 7, vue 2
"laravel-mix": "^6.0.49",
"sass-loader": "^12.6.0",
"vue-loader": "^15.10.0",
"vue-template-compiler": "^2.7.12",
"webpack": "^5.23.0"
Activity
JavierAgueroCL commentedon Oct 6, 2022
I have the same issue
axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;thanhhungmk92 commentedon Oct 12, 2022
I have the same issue . Help me, please

Info: laravel 7, vue 2
"laravel-mix": "^6.0.49",
"sass-loader": "^12.6.0",
"vue-loader": "^15.10.0",
"vue-template-compiler": "^2.7.12",
"webpack": "^5.23.0"
Julian367 commentedon Oct 28, 2022
Any solution for this?
SneakyGerald commentedon Nov 9, 2022
Seems a new wrapper function
defaultwas added, you can still accesscommonprops like this:Worked for me.