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'
196196
197197### If you don't need separate backend and frontend
198198
199- Go to file /laravel/routes/web.php
199+ 1 . Go to file /laravel/routes/web.php
200200And uncomment this lines:
201201``` php
202202Route::get('/{any}', function () {
203203 return view('coreui.homepage');
204204})->where('any', '.*');
205205```
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 .
207225``` bash
208226# back to laravel directory
209227$ cd ../laravel
You can’t perform that action at this time.
0 commit comments