-
-
Notifications
You must be signed in to change notification settings - Fork 6
Theme assets
İsa Eken edited this page Oct 2, 2021
·
1 revision
You can turn this feature on or off by changing the "assets" value in the "/config/theme-system.php" file.
Copy/add your assets to "resources/themes/your-theme-name/public"
You can change the name of the
"public"folder by changing thepublic_directoryvalue in the"/config/theme-system.php"file.
You can publish assets to global using the "php artisan theme:publish" command.
Note: This operation requires the "symlink" function. Don't forget to check that this feature is turned on.
When this feature is enabled, the "asset" and "secure_asset" functions are rewritten. You can use it as Laravel's default.