File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -196,14 +196,32 @@ Vue.prototype.$apiAdress = 'http://127.0.0.1:8000'
196
196
197
197
### If you don't need separate backend and frontend
198
198
199
- Go to file /laravel/routes/web.php
199
+ 1 . Go to file /laravel/routes/web.php
200
200
And uncomment this lines:
201
201
``` php
202
202
Route::get('/{any}', function () {
203
203
return view('coreui.homepage');
204
204
})->where('any', '.*');
205
205
```
206
-
206
+ 2 . Go to file /laravel/config/filesystems.php
207
+ And change this line:
208
+ ``` php
209
+ 'root' => public_path() . '/../../coreui/public/public',
210
+ ```
211
+ To:
212
+ ``` php
213
+ 'root' => public_path('public'),
214
+ ```
215
+ 3 . Go to file /coreui/src/views/media/Media.vue
216
+ And change this line:
217
+ ``` js
218
+ changePort: ' localhost:8080' ,
219
+ ```
220
+ To:
221
+ ``` js
222
+ changePort: ' localhost:8000' ,
223
+ ```
224
+ 4 .
207
225
``` bash
208
226
# back to laravel directory
209
227
$ cd ../laravel
You can’t perform that action at this time.
0 commit comments