Skip to content

Commit d53313b

Browse files
committed
Update API server setup instructions with correct URLs and commands
1 parent 14ee661 commit d53313b

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

composer.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
],
1010
"repositories": {
1111
"nativephp": {
12-
"type": "composer",
13-
"url": "https://nativephp.composer.sh"
12+
"type": "path",
13+
"url": "../mobile"
1414
}
1515
},
1616
"license": "MIT",
@@ -20,7 +20,7 @@
2020
"laravel/sanctum": "^4.0",
2121
"laravel/tinker": "^2.10.1",
2222
"livewire/livewire": "^3.6.4",
23-
"nativephp/mobile": "^2.0.0"
23+
"nativephp/mobile": "*"
2424
},
2525
"require-dev": {
2626
"fakerphp/faker": "^1.23",
@@ -46,14 +46,6 @@
4646
}
4747
},
4848
"scripts": {
49-
"setup": [
50-
"composer install",
51-
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
52-
"@php artisan key:generate",
53-
"@php artisan migrate --force",
54-
"npm install",
55-
"npm run build"
56-
],
5749
"dev": [
5850
"Composer\\Config::disableProcessTimeout",
5951
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"

resources/views/components/layouts/app.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<native:top-bar-action id="profile-action" label="Home" icon="user" url="{{ route('profile') }}"/>
99
</native:top-bar>
1010

11-
<native:side-nav :gestures_enabled="!request()->routeIs('news')">
11+
<native:side-nav :gestures_enabled="request()->routeIs('home')">
1212
<native:side-nav-header
1313
title="Welcome"
1414
subtitle="{{\Native\Mobile\Facades\SecureStorage::get('user_name')}}"

0 commit comments

Comments
 (0)