Created
March 31, 2018 18:20
-
-
Save tsuemura/a926b85c275038bd6dec8c952e26b2b7 to your computer and use it in GitHub Desktop.
replace full url to Laravel's "asset()" helper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
('https?://[\w/:%#\$&\?\(\)~\.=\+\-]+/)(\S*') // from | |
'{{ asset('/$2) }} // to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment