-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elixir versioning does not respect subfolders #9760
Comments
Unfortunately this was already brought up here #8565 and the response was basically that you shouldn't install Laravel in a subdirectory. Sometimes that's not always an option, e.g. my company doesn't want to generate a new subdomain for our staging server for each new app we make, so I'm forced to not use I also think |
FYI it was changed for Laravel 5.2 to use the For a workaround until then, just add your own |
I have just made a workaround - nest the elixir helper into asset in Blade this way: |
When laravel app is in subfolder of domain and assets are versioned via elixir's .version() worker then elixir helper doesn't respect subfolder. It just returns plain /build/ path:
https://github.com/laravel/framework/blob/5.1/src/Illuminate/Foundation/helpers.php#L691
The text was updated successfully, but these errors were encountered: