feat: bootstrap Vue 3 app with Vue Router and Axios

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ovidiu U
2026-04-10 17:59:06 +01:00
parent 05b5d1f3b3
commit 87e7a9aa84
11 changed files with 89 additions and 7 deletions

13
resources/js/axios.js Normal file
View File

@@ -0,0 +1,13 @@
import axios from 'axios'
const api = axios.create({
baseURL: '/api',
withCredentials: true,
withXSRFToken: true,
headers: {
'Accept': 'application/json',
'X-Requested-With': 'XMLHttpRequest',
},
})
export default api