Created
June 10, 2021 14:38
-
-
Save im-noob/21f321285d8d8e39748389ccf348f30d to your computer and use it in GitHub Desktop.
Fix Telescope Issue Laravel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix telescope path issue. | |
Auto Load Entries | |
0. mkdir -p resources/views/vendor/telescope | |
1. cp vendor/laravel/telescope/resources/views/layout.blade.php resources/views/vendor/telescope/ | |
2. window.Telescope.path = '{{ env('MIX_APP_NAME') }}/telescope'; in view | |
3. MIX_APP_NAME=Projects/catalet/public/ | |
if the above line tow working try with this.. | |
2. let telescopePath = "{{ ltrim(parse_url(url(config('telescope.path')))['path'], '/') }}"; | |
window.Telescope.path = telescopePath; | |
ref: https://stackoverflow.com/questions/56129344/laravel-telescope-not-working-on-a-fresh-install-wrong-path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment