Replies: 1 comment
-
Not a legid answer buy you may override app.blade.php inside resources/views/vendor/platform/app.blade.php that you may commit it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi There!
I was using AdminLTE before reaching Orchid on Laravel.
Had the same exact trouble when using it from subdirectories:
But modifying the layout file (app.blade.php) on this code block:
@if(\Orchid\Support\Locale::currentDir(app()->getLocale()) == "rtl") <link rel="stylesheet" type="text/css" href="{{ mix('/css/orchid.rtl.css','vendor/orchid') }}"> @else <link rel="stylesheet" type="text/css" href="{{ mix('/css/orchid.css','vendor/orchid') }}"> @endif
Adding
{{ url('/') }}
inside href tags, before MIX blade tag resolves this behaviour on all subsequent sites/webpages.The final questions are:
platform.php
? Because editingvendor/orchid/platform/resources/views/app.blade.php
isn't standard for saving it to my github project...Beta Was this translation helpful? Give feedback.
All reactions