Top

Faq

Before you run the command for starting the server, make sure that you have composer and php installed. You can check it by running composer -v and php --version in your terminal

And if they are not installed then follow our Installation Guide , where we have briefly mentioned the process of installing php, composer and running the project.

For the customizer remove, Just you need to remove one js file which is public > assets > js > theme-customizer > customizer.js
delete this script file from your page
For the dark mode page, just you have to add? dark-only class to body tag
For the RTL page, just you have to add rtl class to body tag and add dir="rtl" attribute in your html tag.

Step 1: Edit the admin.php file:

  1. In the routes folder, locate the admin.php file.
  2. In your admin.php file, define a route that will handle clearing the cache and recreating the storage link:
<?php 
use Illuminate\Support\Facades\Route; 
use Illuminate\Support\Facades\Artisan; 
use Illuminate\Support\Facades\File; 

Route::get('/clear-cache', function () { 
    $storageLinkPath = public_path('storage'); 

    if (File::exists($storageLinkPath) && !File::isDirectory($storageLinkPath)) { 
    File::delete($storageLinkPath); 
    } 

    Artisan::call('cache:clear'); 
    Artisan::call('config:clear'); 
    Artisan::call('config:cache'); 
    Artisan::call('view:clear'); 
    Artisan::call('route:clear'); 
    Artisan::call('optimize:clear'); 
    Artisan::call('clear-compiled'); 

    Artisan::call('storage:link'); 

    return 'Cache cleared and storage link recreated!'; 
});

Step 2: Run the Clear Cache Route:

  1. Open your web browser and navigate to https://yourdomain.com/clear-cache
  2. This will execute the route you just defined, clearing the cache and fixing the storage link issue.