Commit 8c356a5
docs(mobile/3): note Inertia 3 axios requirement in installation guide
NativePHP Mobile intercepts axios at bundle time to route HTTP requests
through the embedded PHP runtime. Inertia 3 removed axios in favour of
native fetch, so fresh Inertia 3 projects fail the NativePHP build until
they reinstall axios and register the Inertia axios adapter.
Adds an aside to mobile/3/getting-started/installation explaining the
requirement, the fix (`npm install axios @inertiajs/axios-adapter`), and
links to the Inertia client-side-setup docs.
Pairs with NativePHP/mobile-air#100 which makes the Vite plugin fail
early with an error pointing here and at the Inertia adapter docs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 103d24d commit 8c356a5
1 file changed
Lines changed: 21 additions & 0 deletions
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
95 | 116 | | |
96 | 117 | | |
97 | 118 | | |
| |||
0 commit comments