Skip to content

Commit dcd0d14

Browse files
committed
doc: add filesystem info to documentation
1 parent a1bbd39 commit dcd0d14

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff 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
200200
And uncomment this lines:
201201
```php
202202
Route::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

0 commit comments

Comments
 (0)