Commit 7f8d512
docs(mobile/3): note Inertia 3 axios requirement in development guide (#370)
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 declare axios as a direct dependency.
Adds an aside to mobile/3/getting-started/development in the section that
already introduces the nativephpMobile Vite plugin — that's the natural
home for build-time concerns — with the single `npm install axios` step
and a link to Inertia's client-side-setup docs for wiring it up.
Pairs with NativePHP/mobile-air#100 which makes the Vite plugin fail
early with an error pointing here and at the Inertia docs.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 103d24d commit 7f8d512
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 | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
69 | 90 | | |
70 | 91 | | |
71 | 92 | | |
| |||
0 commit comments