====== Laravel ====== https://laravel.com/ ===== Telescope in Subfolder ===== SUBFOLDER mit dem Ordnernamen ersetzten, wird nur hinzugefĆ¼gt wenn APP_ENV auf ''production'' steht. ... public function boot() { ... if (\App::environment('production')) { \View::composer(['telescope::layout'], function ($view) { $view->with('telescopeScriptVariables', [ 'path' => 'SUBFOLDER/telescope', 'timezone' => config('app.timezone'), 'recording' => !cache('telescope:pause-recording'), ]); }); } } ... Quelle: https://github.com/laravel/telescope/pull/281#issuecomment-442061169 ===== Laravel Mix in Subfolder ===== SUBFOLDER mit dem Ordnernamen ersetzten, wird nur genutzt wenn APP_ENV auf ''production'' steht. const mix = require('laravel-mix'); if (process.env.APP_ENV == 'production') { mix.setResourceRoot('/SUBFOLDER/'); } ...