after many searches we found this codes but is not for nuxt:
$.ajaxSetup({ headers: { \'X-CSRF-TOKEN\': $(\'meta[name="csrf-token"]\').attr(\'