Support the ongoing development of Laravel.io →
posted 7 years ago
Views Blade
Last updated 2 years ago.
0

it's a little late but, here the solution that I found app('url')->assetFrom('cdn-1', 'js/dropzone.js');

0

The url helper function can be used with no arguments to return the UrlGenerator also.

url()->assetFrom(...);

Laravel 5.5 Docs - Helpers - url()

An additional way to access it if you would like.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

gclove gclove Joined 24 Nov 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.