js ?? when you have logged in successfully then save the token in local storage, then when you want to load the v_read.vue file, you must enter the authorization headers first
this is my code
https://pastebin.com/dGCPyVEh
window.axios.defaults.headers.common['Authorization'] = 'your token'
axios.get('/api/...').then(...) If dosen't work, rebuild the project and clear the cache.
Обсуждают сегодня