Jun 2, 2020
0
Level 4
Laravel with nativescript
I'm new to nativescript-vue, I'm working on my own nativescript-vue app, I created a laravel project which is basically the API of my native app, my app has to "call" my laravel API endpoints, this is in my local dev machine and I'm currently not using emulators but a connected device, how can I hit my laravel app routes with my app? I usually use axios in my vue projects so I downloaded it in nativescript-vue.
Do I just have to make a Get request to "http://127.0.0.1:8000/api/posts"with axios
Please or to participate in this conversation.